Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mpeg4_unpack_bframes_bsf: Copy packet props

2016-07-22 Thread Michael Niedermayer
On Fri, Jul 22, 2016 at 05:59:29PM +0200, sebechlebsky...@gmail.com wrote: > From: Jan Sebechlebsky > > 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 unto

[FFmpeg-devel] [PATCH 1/2] avcodec/mpeg4_unpack_bframes_bsf: Copy packet props

2016-07-22 Thread sebechlebskyjan
From: Jan Sebechlebsky 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