Merge commit '5c1d7246cd65dc4db1b6dc36e29ce39fc1068f3f'
[ffmpeg.git] / libavcodec / h264_slice.c
index c70814f..7d28ba2 100644 (file)
@@ -1161,8 +1161,6 @@ static int h264_slice_header_init(H264Context *h, int reinit)
                   h->sps.num_units_in_tick, den, 1 << 30);
     }
 
-    h->avctx->hwaccel = ff_find_hwaccel(h->avctx);
-
     if (reinit)
         ff_h264_free_tables(h, 0);
     h->first_field           = 0;