]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/flvenc.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavcodec / flvenc.c
index 5e81dcb15d7d7f73e4fa0711736eaf1c99995541..fc8c2a474f4784e301355629ac7fa5b17ef8a37f 100644 (file)
@@ -53,7 +53,7 @@ void ff_flv_encode_picture_header(MpegEncContext * s, int picture_number)
         put_bits(&s->pb, 16, s->width);
         put_bits(&s->pb, 16, s->height);
       }
-      put_bits(&s->pb, 2, s->pict_type == FF_P_TYPE); /* PictureType */
+      put_bits(&s->pb, 2, s->pict_type == AV_PICTURE_TYPE_P); /* PictureType */
       put_bits(&s->pb, 1, 1); /* DeblockingFlag: on */
       put_bits(&s->pb, 5, s->qscale); /* Quantizer */
       put_bits(&s->pb, 1, 0); /* ExtraInformation */