aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/put_bits.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-02-15 08:38:51 +0100
committerAnton Khirnov <anton@khirnov.net>2012-02-24 19:43:02 +0100
commit655b24c01cea2af7e56ac4ffe3d6fdc475223bcc (patch)
tree156f66e4d097b693a852563623a40ba5a0d86c04 /libavcodec/put_bits.h
parent9677247b0a6d86fa11e660e940d4836926b9bdaf (diff)
downloadffmpeg-655b24c01cea2af7e56ac4ffe3d6fdc475223bcc.tar.gz
lavf: move the packet keyframe setting code.
compute_pkt_fields() is for unreliable estimates or guessing. The keyframe information from the parser is (at least in theory) reliable, so it should be used even when the other guessing is disabled with the AVFMT_FLAG_NOFILLIN flag. Therefore, move setting the packet keyframe flag based on parser information from compute_pkt_fields() to read_frame_internal().
Diffstat (limited to 'libavcodec/put_bits.h')
0 files changed, 0 insertions, 0 deletions