summaryrefslogtreecommitdiff
path: root/libavcodec/flvenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/flvenc.c')
-rw-r--r--libavcodec/flvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flvenc.c b/libavcodec/flvenc.c
index af3e8131f1..28bca2ea6a 100644
--- a/libavcodec/flvenc.c
+++ b/libavcodec/flvenc.c
@@ -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 */