[FFmpeg-devel] [PATCH 1/2] avcodec/mpeg4_unpack_bframes_bsf: Copy packet props
Michael Niedermayer
michael at niedermayer.cc
Fri Jul 22 19:45:11 EEST 2016
On Fri, Jul 22, 2016 at 05:59:29PM +0200, sebechlebskyjan at gmail.com wrote:
> From: Jan Sebechlebsky <sebechlebskyjan at gmail.com>
>
> 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 at gmail.com>
> ---
> libavcodec/mpeg4_unpack_bframes_bsf.c | 6 ++++++
> 1 file changed, 6 insertions(+)
applied
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160722/a73d5db2/attachment.sig>
More information about the ffmpeg-devel
mailing list