This provides a generic way to the API user to deal with files that either lack this SEI, or which have the SEI only in packets not passed to the decoder (such as the common case of the SEI being in the very firsat video packet, but decoding is started somewhere in the middle of the file). Bugs like 840b41b2a643fc8f0617c0370125a19c02c6b586 make this somewhat of a necessity.
This intentionally uses the version in the SEI instead, if any is found.
cf57cb3ae4 h264: add AVOption to set x264_build default
libavcodec/h264dec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)