]> git.sesse.net Git - ffmpeg/commit
lavc/h264dec: don't error out when receiving multiple IDR slices
authorJosh de Kock <joshdk@obe.tv>
Wed, 26 Sep 2018 09:35:04 +0000 (10:35 +0100)
committerKieran Kunhya <kierank@obe.tv>
Fri, 26 Oct 2018 10:48:14 +0000 (11:48 +0100)
commit0a055f463a60af764c083fd0ba3112037557de4b
tree2df6488d7086646d9776dfa736069abebc9f5229
parent4fcfb9c4ebf3650fd7e82ba78d81c8aebdabd228
lavc/h264dec: don't error out when receiving multiple IDR slices

This error isn't particularly helpful as checking for mixed IDR/non-IDR
NALUs would need to be done at a higher level to actually be accurate.
Removing the error allows an API user to send individual slice NALUs
(i.e. incomplete frames) so they can take advantage of slice
threading. The ticket which this error was added for (#4408) no
longer segfaults after removing this error (as the bug was likely
fixed more properly elsewhere).
libavcodec/h264dec.c