aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-01-24 13:20:17 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-01-24 13:20:17 +0000
commit50eb40a799aa4f93eb8fa872faab80660ac20a51 (patch)
tree3280032f9778325a17d70b1d553cd0d89a373438 /libavcodec/h264.c
parent1f8ad15ad32fe3f18ed0288659964872c536057e (diff)
downloadffmpeg-50eb40a799aa4f93eb8fa872faab80660ac20a51.tar.gz
Remove all uses of slice_type* from the loop filter, also remove its
initialization befre the loop filter. Originally committed as revision 21416 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 598904c4cc..08745d8e0c 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2174,12 +2174,6 @@ static void loop_filter(H264Context *h){
h->slice_num= h->slice_table[mb_xy];
mb_type= s->current_picture.mb_type[mb_xy];
h->list_count= h->list_counts[mb_xy];
- if(h->list_count==2){
- h->slice_type= h->slice_type_nos= FF_B_TYPE;
- }else if(h->list_count==1){
- h->slice_type= h->slice_type_nos= FF_P_TYPE;
- }else
- h->slice_type= h->slice_type_nos= FF_I_TYPE;
if(FRAME_MBAFF)
h->mb_mbaff = h->mb_field_decoding_flag = !!IS_INTERLACED(mb_type);