[FFmpeg-cvslog] ffmpeg: bitstream filters require split out side data

Michael Niedermayer git at videolan.org
Thu May 15 22:53:40 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu May 15 22:35:40 2014 +0200| [e9602dcb4d7eedc5938393dadce20115b0163c3f] | committer: Michael Niedermayer

ffmpeg: bitstream filters require split out side data

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e9602dcb4d7eedc5938393dadce20115b0163c3f
---

 ffmpeg.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/ffmpeg.c b/ffmpeg.c
index 9792281..10311ef 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -597,6 +597,9 @@ static void write_frame(AVFormatContext *s, AVPacket *pkt, OutputStream *ost)
         ost->frame_number++;
     }
 
+    if (bsfc)
+        av_packet_split_side_data(pkt);
+
     while (bsfc) {
         AVPacket new_pkt = *pkt;
         int a = av_bitstream_filter_filter(bsfc, avctx, NULL,



More information about the ffmpeg-cvslog mailing list