diff options
author | Måns Rullgård <mans@mansr.com> | 2007-07-15 19:23:55 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-07-15 19:23:55 +0000 |
commit | e0eddd1269cc81a6e3b685adb2080b4208489e7c (patch) | |
tree | abcf1a58de17a20a17549af5b9cf1ea71240e713 /libavcodec/png.c | |
parent | 9a5a05d0b37b7a9345e928290c54af20528ac27f (diff) | |
download | ffmpeg-e0eddd1269cc81a6e3b685adb2080b4208489e7c.tar.gz |
hardly anything in PNGContext is shared; split it
Originally committed as revision 9689 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/png.c')
-rw-r--r-- | libavcodec/png.c | 10 |
1 files changed, 0 insertions, 10 deletions
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; -} |