aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv34vlc.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-06-12 14:22:50 +0200
committerAnton Khirnov <anton@khirnov.net>2016-07-15 15:33:54 +0200
commit4a9bab3db0d9ec449ebc8b5e823374d1d1df7761 (patch)
tree496394aa8226d1b340b40104f34ff8bb57f1d715 /libavcodec/rv34vlc.h
parentf450cc7bc595155bacdb9f5d2414a076ccf81b4a (diff)
downloadffmpeg-4a9bab3db0d9ec449ebc8b5e823374d1d1df7761.tar.gz
h264: fix decoding multiple fields per packet with slice threads
Since we only know whether a NAL unit corresponds to a new field after parsing the slice header, this requires reorganizing the calls to slice parsing, per-slice/field/frame init and actual decoding. In the previous code, the function for slice header decoding also immediately started a new field/frame as necessary, so any slices already queued for decoding would no longer be decodable. After this patch, we first parse the slice header, and if we determine that a new field needs to be started we decode all the queued slices.
Diffstat (limited to 'libavcodec/rv34vlc.h')
0 files changed, 0 insertions, 0 deletions