diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-18 10:36:33 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-06-21 11:17:28 +0200 |
commit | 5c2fb561d94fc51d76ab21d6f7cc5b6cc3aa599c (patch) | |
tree | 15872b880e486a2e536a25c450799b1b1624ea32 /libavcodec/omx.c | |
parent | 1cf2f3d334f52849aae2be868bad1e5fa5f59aa0 (diff) | |
download | ffmpeg-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.c | 2 |
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) |