OSDN Git Service

avformat/utils: never decrease has_b_frames in compute_pkt_fields()
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 3 Nov 2013 20:26:40 +0000 (21:26 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 3 Nov 2013 20:36:10 +0000 (21:36 +0100)
commit8b73a3f6f6598cb9249034fa020ddead3c943e2f
tree761e5bfcd76709b46dabca736322a9886723582c
parent074155360d28d25701e0cbc7e867bda0e08d9428
avformat/utils: never decrease has_b_frames in compute_pkt_fields()

The intent of the original check was to increase has_b_frames when
it was incorrectly set to 0. Later codecs allowed larger values

Found-by: divVerent
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c