On 13/07/16 17:41, Vittorio Giovara wrote: > Signed-off-by: Vittorio Giovara <[email protected]> > --- > This is a small step to allow removing sizeof(AVPacket) from ABI (in the > very very long run), and to investigate what people think of the idea. > > There was some discussion in the past and a few founding stone were laid, > this would be mainly a continuation of that work. The goal would be to > have an AVFrame-like structure that can be expanded/modified without > requiring a major bump. > > Vittorio > > libavdevice/libdc1394.c | 43 +++++++++++++++++++++++++------------------ > 1 file changed, 25 insertions(+), 18 deletions(-) > > diff --git a/libavdevice/libdc1394.c b/libavdevice/libdc1394.c > index 72e2e8b..9327245 100644 > --- a/libavdevice/libdc1394.c > +++ b/libavdevice/libdc1394.c > @@ -69,7 +69,7 @@ typedef struct dc1394_data { > char *pixel_format; /**< Set by a private option. */ > char *framerate; /**< Set by a private option. */ > > - AVPacket packet; > + AVPacket *packet; > } dc1394_data;
Probably that AVPacket could be removed completely? lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
