summaryrefslogtreecommitdiff
path: root/libavcodec/h264_picture.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-08-08 15:30:26 -0300
committerJames Almer <jamrial@gmail.com>2021-08-10 15:11:41 -0300
commitce4a31cd1ff0348d279af74d49556d0315171e94 (patch)
treee6dd7790e1368d8bee8adfcbfc44f1a8672a9d9c /libavcodec/h264_picture.c
parentf803635c4fac761ac68b39a369272d4c26433dc1 (diff)
avcodec/h264_slice: clear old slice POC values on parsing failure
If a slice header fails to parse, and the next one uses different Sequence and Picture parameter sets, certain values may not be read if they are not coded, resulting in the previous slice values being used. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/h264_picture.c')
0 files changed, 0 insertions, 0 deletions