aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/setpts.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-12-17 19:38:24 +0100
committerAnton Khirnov <anton@khirnov.net>2016-01-01 16:09:14 +0100
commit9d74012761bc3ee676fe43321d5699e4877fde5b (patch)
tree0d3abb72b26c112f681b638bb943e3dd23658036 /libavfilter/setpts.c
parent40d949677335a564f769823f4afdb7e7a3da8d6b (diff)
downloadffmpeg-9d74012761bc3ee676fe43321d5699e4877fde5b.tar.gz
h264: improve behaviour with invalid reference lists
Before 741b494fa8cd28a7d096349bac183893c236e3f9, when the reference list modification description was invalid, the code would substitute the corresponding reference from the initial ("default") reference list. After that commit, it will just return an error. Since there are apparently invalid samples in the wild that used to play fine with the old code, it is a good idea to re-add some sort of error resilience here. So, when the reference list modification results in a missing frame, substitute a previous reference frame for it. The relevant sample again decodes fine with the same output as previously.
Diffstat (limited to 'libavfilter/setpts.c')
0 files changed, 0 insertions, 0 deletions