diff png.c @ 5339:a8c48a070cff libavcodec

hardly anything in PNGContext is shared; split it
author mru
date Sun, 15 Jul 2007 19:23:55 +0000
parents 26f4095e35d2
children 49dcfab1bda3
line wrap: on
line diff
--- a/png.c	Sun Jul 15 19:03:12 2007 +0000
+++ b/png.c	Sun Jul 15 19:23:55 2007 +0000
@@ -80,13 +80,3 @@
     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;
-}