From e0eddd1269cc81a6e3b685adb2080b4208489e7c Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Sun, 15 Jul 2007 19:23:55 +0000 Subject: hardly anything in PNGContext is shared; split it Originally committed as revision 9689 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/png.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libavcodec/png.c') diff --git a/libavcodec/png.c b/libavcodec/png.c index 2af7700630..969c14774f 100644 --- a/libavcodec/png.c +++ b/libavcodec/png.c @@ -80,13 +80,3 @@ int ff_png_pass_row_size(int pass, int bits_per_pixel, int width) pass_width = (width - xmin + (1 << shift) - 1) >> shift; return (pass_width * bits_per_pixel + 7) >> 3; } - -int ff_png_common_init(AVCodecContext *avctx){ - PNGContext *s = avctx->priv_data; - - avcodec_get_frame_defaults((AVFrame*)&s->picture); - avctx->coded_frame= (AVFrame*)&s->picture; -// s->avctx= avctx; - - return 0; -} -- cgit v1.2.3