]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/hevc_mp4toannexb_bsf.c
aarch64: vp8: Port bilin functions from arm version
[ffmpeg] / libavcodec / hevc_mp4toannexb_bsf.c
index 8d7ac58f1959835d8125c714a7ea1fa014ff7f8c..d6b1f00047a4410f03945f3f5efd1c2623e29286 100644 (file)
@@ -55,8 +55,8 @@ static int hevc_extradata_to_annexb(AVBSFContext *ctx)
         int type = bytestream2_get_byte(&gb) & 0x3f;
         int cnt  = bytestream2_get_be16(&gb);
 
-        if (!(type == NAL_VPS || type == NAL_SPS || type == NAL_PPS ||
-              type == NAL_SEI_PREFIX || type == NAL_SEI_SUFFIX)) {
+        if (!(type == HEVC_NAL_VPS || type == HEVC_NAL_SPS || type == HEVC_NAL_PPS ||
+              type == HEVC_NAL_SEI_PREFIX || type == HEVC_NAL_SEI_SUFFIX)) {
             av_log(ctx, AV_LOG_ERROR, "Invalid NAL unit type in extradata: %d\n",
                    type);
             ret = AVERROR_INVALIDDATA;