summaryrefslogtreecommitdiff
path: root/libavcodec/omx.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-05-18 10:36:33 +0200
committerAnton Khirnov <anton@khirnov.net>2016-06-21 11:17:28 +0200
commit5c2fb561d94fc51d76ab21d6f7cc5b6cc3aa599c (patch)
tree15872b880e486a2e536a25c450799b1b1624ea32 /libavcodec/omx.c
parent1cf2f3d334f52849aae2be868bad1e5fa5f59aa0 (diff)
downloadffmpeg-5c2fb561d94fc51d76ab21d6f7cc5b6cc3aa599c.tar.gz
h264: add H264_ prefix to the NAL unit types
This will prevent conflicts e.g. in code that deals with both h264 and hevc.
Diffstat (limited to 'libavcodec/omx.c')
-rw-r--r--libavcodec/omx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/omx.c b/libavcodec/omx.c
index 961ff86764..63c7f5b422 100644
--- a/libavcodec/omx.c
+++ b/libavcodec/omx.c
@@ -703,7 +703,7 @@ static av_cold int omx_encode_init(AVCodecContext *avctx)
nals[avctx->extradata[i + 4] & 0x1f]++;
}
}
- if (nals[NAL_SPS] && nals[NAL_PPS])
+ if (nals[H264_NAL_SPS] && nals[H264_NAL_PPS])
break;
} else {
if (avctx->extradata_size > 0)