diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-04-29 18:53:57 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-05-02 12:18:44 +0200 |
commit | 975a1447f76e8d30fc01e6ea5466c84faf3d76e4 (patch) | |
tree | d462ee5cc7a2f59c44f797c97fc237c999c94e55 /libavcodec/h264.h | |
parent | 6209669de4a0aa056ae05b0a2c78eaf2ca489b23 (diff) | |
download | ffmpeg-975a1447f76e8d30fc01e6ea5466c84faf3d76e4.tar.gz |
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index f22454b436..0a0ec36649 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -1108,7 +1108,7 @@ static void fill_decode_caches(H264Context *h, int mb_type){ } AV_ZERO16(h->mvd_cache [list][scan8[4 ]]); AV_ZERO16(h->mvd_cache [list][scan8[12]]); - if(h->slice_type_nos == FF_B_TYPE){ + if(h->slice_type_nos == AV_PICTURE_TYPE_B){ fill_rectangle(&h->direct_cache[scan8[0]], 4, 4, 8, MB_TYPE_16x16>>1, 1); if(IS_DIRECT(top_type)){ @@ -1245,7 +1245,7 @@ static inline void write_back_motion(H264Context *h, int mb_type){ } } - if(h->slice_type_nos == FF_B_TYPE && CABAC){ + if(h->slice_type_nos == AV_PICTURE_TYPE_B && CABAC){ if(IS_8X8(mb_type)){ uint8_t *direct_table = &h->direct_table[4*h->mb_xy]; direct_table[1] = h->sub_mb_type[1]>>1; @@ -1276,7 +1276,7 @@ static void av_unused decode_mb_skip(H264Context *h){ if(MB_FIELD) mb_type|= MB_TYPE_INTERLACED; - if( h->slice_type_nos == FF_B_TYPE ) + if( h->slice_type_nos == AV_PICTURE_TYPE_B ) { // just for fill_caches. pred_direct_motion will set the real mb_type mb_type|= MB_TYPE_L0L1|MB_TYPE_DIRECT2|MB_TYPE_SKIP; |