avcodec/h264_slice: remove duplicate unconditional picture_structure setting code
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 12 Feb 2016 01:18:24 +0000 (02:18 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 12 Feb 2016 03:37:35 +0000 (04:37 +0100)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264_slice.c

index 6395cee..6a80d89 100644 (file)
@@ -1477,7 +1477,6 @@ int ff_h264_decode_slice_header(H264Context *h, H264SliceContext *sl)
         }
     }
 
-    h->picture_structure = picture_structure;
     if (!h->setup_finished) {
         h->droppable         = droppable;
         h->picture_structure = picture_structure;