Merge commit '5c2fb561d94fc51d76ab21d6f7cc5b6cc3aa599c'
[ffmpeg.git] / libavformat / mxfenc.c
index 80318b8903cb0a1fa89a61a47891bcf6fa664a4a..ffd0bf2d16e6ee2a4cbec0f2916245fa0aafadb4 100644 (file)
@@ -1860,11 +1860,11 @@ static int mxf_parse_h264_frame(AVFormatContext *s, AVStream *st,
             break;
         --buf;
         switch (state & 0x1f) {
-        case NAL_SPS:
+        case H264_NAL_SPS:
             st->codecpar->profile = buf[1];
             e->flags |= 0x40;
             break;
-        case NAL_PPS:
+        case H264_NAL_PPS:
             if (e->flags & 0x40) { // sequence header present
                 e->flags |= 0x80; // random access
                 extra_size = 0;