]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/pngdec.c
h264: rebuild the default ref list if the reference count changes
[ffmpeg] / libavcodec / pngdec.c
index 8864e4a214fff83f995b6abf23e9bad0916f4b2a..e6462967f6102550e2ed8c3ec293f8e7fbb2b296 100644 (file)
@@ -649,6 +649,7 @@ static av_cold int png_dec_end(AVCodecContext *avctx)
 
 AVCodec ff_png_decoder = {
     .name           = "png",
+    .long_name      = NULL_IF_CONFIG_SMALL("PNG (Portable Network Graphics) image"),
     .type           = AVMEDIA_TYPE_VIDEO,
     .id             = AV_CODEC_ID_PNG,
     .priv_data_size = sizeof(PNGDecContext),
@@ -656,5 +657,4 @@ AVCodec ff_png_decoder = {
     .close          = png_dec_end,
     .decode         = decode_frame,
     .capabilities   = CODEC_CAP_DR1 /*| CODEC_CAP_DRAW_HORIZ_BAND*/,
-    .long_name      = NULL_IF_CONFIG_SMALL("PNG (Portable Network Graphics) image"),
 };