diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-10-30 07:51:15 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-11-06 09:05:37 +0100 |
commit | 05e59135b3539062465b5005b6d46ec0418a5fc4 (patch) | |
tree | 00515d473dbcb80bedc41a1ea2e6c1a3193c2a9d /libavformat/nutdec.c | |
parent | acc897e6b15776ed438b88ffe330ec48f6b50e48 (diff) | |
download | ffmpeg-05e59135b3539062465b5005b6d46ec0418a5fc4.tar.gz |
nutdec: do not set has_b_frames
It is not supposed to be set by demuxers.
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r-- | libavformat/nutdec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index c3f5f4ba79..69057e933a 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)); |