]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h264_slice.c
dvbsubdec: check memory allocations and propagate errors
[ffmpeg] / libavcodec / h264_slice.c
index edce30f3a5a6c04ee7b0531f41276bfcc058e483..4eb2767a5cb15fd51a1e0f43bc9891fa187395a2 100644 (file)
@@ -1112,7 +1112,6 @@ static int h264_slice_header_init(H264Context *h, int reinit)
             if (!c)
                 return AVERROR(ENOMEM);
             c->avctx             = h->avctx;
-            c->mecc              = h->mecc;
             c->vdsp              = h->vdsp;
             c->h264dsp           = h->h264dsp;
             c->h264qpel          = h->h264qpel;
@@ -1128,7 +1127,6 @@ static int h264_slice_header_init(H264Context *h, int reinit)
             c->chroma_y_shift    = h->chroma_y_shift;
             c->qscale            = h->qscale;
             c->droppable         = h->droppable;
-            c->data_partitioning = h->data_partitioning;
             c->low_delay         = h->low_delay;
             c->mb_width          = h->mb_width;
             c->mb_height         = h->mb_height;