1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00
FFmpeg/libavformat
Andreas Rheinhardt 6e8e8431e1 avformat/aviobuf: Remove AVIOInternal and one level of indirection
In the Libav commit cae448cf, the opaque of every AVIOContext opened
by ffio_fdopen() (which is used internally by avio_open() and avio_open2())
changed: It was a simple pointer to an URLContext before, but now it was
a structure (namely AVIOInternal) containing a pointer to an URLContext
as its only member. The next commits (namely 8c0ceafb and ec4c4839) added
members to AVIOInternal to allow white-/blacklisting of protocols.

But these two commits were never merged into FFmpeg (they were only
merged as no-ops in 510046c2 and 063b26d3), because FFmpeg chose
a different way to implement this (in 93629735); and so our AVIOInternal
still has exactly one member.

This of course means that it is unnecessary to use AVIOInternal as
opaque as it is just adding a level of indirection (not only pointer
dereference, but also wrapper functions). Therefore this commit
removes AVIOInternal entirely and essentially reverts cae448cf.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-01-30 18:47:21 +01:00
..
2020-01-08 01:32:26 +01:00
2019-12-12 19:25:33 +01:00
2016-07-03 04:37:48 +02:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2020-01-08 01:32:26 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2017-09-20 03:31:48 +02:00
2019-12-12 19:25:33 +01:00
2019-08-13 15:38:57 +02:00
2017-09-01 18:52:56 +08:00
2019-12-12 19:25:33 +01:00
2019-12-25 22:10:47 +01:00
2019-10-29 16:20:33 +01:00
2019-12-12 19:25:33 +01:00
2020-01-08 01:32:26 +01:00
2019-12-12 19:25:33 +01:00
2020-01-26 17:24:41 +01:00
2019-12-11 16:24:16 +01:00
2019-12-12 19:25:33 +01:00
2019-10-08 13:47:16 +08:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2019-05-20 11:58:12 -07:00
2020-01-26 17:24:41 +01:00
2019-09-27 12:15:50 +02:00
2019-12-12 19:25:33 +01:00
2018-02-11 20:03:33 +01:00
2018-02-11 20:03:33 +01:00
2019-11-27 23:54:20 +01:00
2019-12-12 19:25:33 +01:00
2017-04-25 15:39:10 +02:00
2020-01-08 01:32:26 +01:00
2019-12-12 19:25:33 +01:00
2018-05-21 19:43:04 -03:00
2018-05-21 19:43:04 -03:00
2019-03-20 18:38:48 +01:00
2017-01-30 11:00:58 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2016-05-03 15:45:10 +02:00
2020-01-29 21:55:47 +01:00
2019-12-12 19:25:33 +01:00
2020-01-23 12:08:20 +05:30
2019-06-14 21:36:39 +02:00
2020-01-08 01:32:26 +01:00
2020-01-07 22:35:52 -03:00
2019-12-12 19:25:33 +01:00