[vlc-devel] [PATCH] mediacodec: abort if there is no SPS/PPS (for h264/hevc)
Rémi Denis-Courmont
remi at remlab.net
Wed Mar 4 12:10:13 CET 2015
Le 2015-03-04 13:53, Thomas Guillem a écrit :
> Because ACodec can assert on some devices when you don't set sps/pps.
So there is one SPS and one PPS (with the patch). It does not prove
that a given slice uses the one PPS, nor does it prove that the one PPS
uses the one SPS. And it obviously does not prove that the data within
the slices, PPS and SPS are compatible.
In other words, if your decoder crashes on invalid or incomplete
streams, you decoder crashes. You cannot work around it (other than by
not using it at all).
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list