diff options
author | Jan Sebechlebsky <sebechlebskyjan@gmail.com> | 2016-07-22 17:59:29 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-07-22 18:55:37 +0200 |
commit | 8c997b3d3d1b60288ef9cd38cf1e709245a9ae64 (patch) | |
tree | 0426a9815ea65eec2b250411f6256a4b8514fa7b /libavformat/ftp.c | |
parent | 282477bf4534439ecb06f14d46446a4f1ab82284 (diff) | |
download | ffmpeg-8c997b3d3d1b60288ef9cd38cf1e709245a9ae64.tar.gz |
avcodec/mpeg4_unpack_bframes_bsf: Copy packet props
mpeg4_unpack_bframes_bsf bitstream filters constructs
resulting packet using av_packet_from_data() function.
This function however modifies only buffer (data) and leaves
other fields untouched, so the content of other fields
of the output packet is undefined.
It is working with old BSF API, since old API filters
just data and the packet fields are copied in
av_apply_bitstream_filters from input packet.
This change fixes the behaviour for the new BSF API.
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/ftp.c')
0 files changed, 0 insertions, 0 deletions