diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-28 01:40:44 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-05-02 16:41:41 +0200 |
commit | ce5e49b0c2c11ec153834677fc5c903dd71d4e6e (patch) | |
tree | d641bd887afa961820f6bc93727c9b0812b58aa1 /libavformat/gxfenc.c | |
parent | 301183d9be4e426d472d4be8c84095c853cb8ac4 (diff) | |
download | ffmpeg-ce5e49b0c2c11ec153834677fc5c903dd71d4e6e.tar.gz |
replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*
Diffstat (limited to 'libavformat/gxfenc.c')
-rw-r--r-- | libavformat/gxfenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c index 08270c8f66..3f7d7851f7 100644 --- a/libavformat/gxfenc.c +++ b/libavformat/gxfenc.c @@ -834,10 +834,10 @@ static int gxf_write_media_preamble(AVFormatContext *s, AVPacket *pkt, int size) avio_wb16(pb, size / 2); } else if (st->codec->codec_id == CODEC_ID_MPEG2VIDEO) { int frame_type = gxf_parse_mpeg_frame(sc, pkt->data, pkt->size); - if (frame_type == FF_I_TYPE) { + if (frame_type == AV_PICTURE_TYPE_I) { avio_w8(pb, 0x0d); sc->iframes++; - } else if (frame_type == FF_B_TYPE) { + } else if (frame_type == AV_PICTURE_TYPE_B) { avio_w8(pb, 0x0f); sc->bframes++; } else { |