[FFmpeg-cvslog] avformat/mux: Apply auto bsfs in av_write_frame() too

Michael Niedermayer git at videolan.org
Thu Jul 14 17:55:51 CEST 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Jul 13 19:08:45 2016 +0200| [a2c90d5f9828fed298a0b6ac87067a01216b0395] | committer: Michael Niedermayer

avformat/mux: Apply auto bsfs in av_write_frame() too

Reviewed-by: Steven Liu <lingjiujianke at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavformat/mux.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavformat/mux.c b/libavformat/mux.c
index 5cb0ca7..d674bd4 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -893,6 +893,10 @@ int av_write_frame(AVFormatContext *s, AVPacket *pkt)
         return 1;
     }
 
+    ret = do_packet_auto_bsf(s, pkt);
+    if (ret <= 0)
+        return ret;
+
 #if FF_API_COMPUTE_PKT_FIELDS2 && FF_API_LAVF_AVCTX
     ret = compute_muxer_pkt_fields(s, s->streams[pkt->stream_index], pkt);
 



More information about the ffmpeg-cvslog mailing list