[FFmpeg-cvslog] nutdec: do not set has_b_frames
Anton Khirnov
git at videolan.org
Thu Nov 6 14:37:05 CET 2014
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Oct 30 07:51:15 2014 +0100| [05e59135b3539062465b5005b6d46ec0418a5fc4] | committer: Anton Khirnov
nutdec: do not set has_b_frames
It is not supposed to be set by demuxers.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=05e59135b3539062465b5005b6d46ec0418a5fc4
---
libavformat/nutdec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index c3f5f4b..69057e9 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -399,7 +399,6 @@ static int decode_stream_header(NUTContext *nut)
GET_V(stc->msb_pts_shift, tmp < 16);
stc->max_pts_distance = ffio_read_varlen(bc);
GET_V(stc->decode_delay, tmp < 1000); // sanity limit, raise this if Moore's law is true
- st->codec->has_b_frames = stc->decode_delay;
ffio_read_varlen(bc); // stream flags
GET_V(st->codec->extradata_size, tmp < (1 << 30));
More information about the ffmpeg-cvslog
mailing list