On Thu, Jan 29, 2015 at 3:48 PM, Anton Khirnov <an...@khirnov.net> wrote: > All the variables modified by this code are either per-MB arrays or have > been moved to the per-slice context > --- > libavcodec/h264.c | 10 +++++----- > libavcodec/h264.h | 6 +++--- > 2 files changed, 8 insertions(+), 8 deletions(-) > > diff --git a/libavcodec/h264.c b/libavcodec/h264.c > index b35e833..6f77d8c 100644 > --- a/libavcodec/h264.c > +++ b/libavcodec/h264.c > @@ -78,11 +78,11 @@ static void h264_er_decode_mb(void *opaque, int ref, int > mv_dir, int mv_type, > ff_h264_hl_decode_mb(h, &h->slice_ctx[0]); > } > > -void ff_h264_draw_horiz_band(H264Context *h, H264SliceContext *sl, > +void ff_h264_draw_horiz_band(const H264Context *h, H264SliceContext *sl, > int y, int height) > { > AVCodecContext *avctx = h->avctx; > - AVFrame *cur = &h->cur_pic.f; > + const AVFrame *cur = &h->cur_pic.f; nit: spacing
Rest is ok. -- Vittorio _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel