diff options
-rw-r--r-- | demuxer/Demuxers/LAVFStreamInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demuxer/Demuxers/LAVFStreamInfo.cpp b/demuxer/Demuxers/LAVFStreamInfo.cpp index 788d195b..115cdd50 100644 --- a/demuxer/Demuxers/LAVFStreamInfo.cpp +++ b/demuxer/Demuxers/LAVFStreamInfo.cpp @@ -193,7 +193,7 @@ static bool h264_is_annexb(std::string format, AVStream *avstream) static bool hevc_is_annexb(std::string format, AVStream *avstream) { ASSERT(avstream->codec->codec_id == AV_CODEC_ID_HEVC); - if (avstream->codec->extradata_size < 25) + if (avstream->codec->extradata_size < 23) return true; if (avstream->codec->extradata[0] || avstream->codec->extradata[1] || avstream->codec->extradata[2] > 1) return false; |