Browse Source

pngdec: use AVFrame accessor functions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 12 years ago
parent
commit
f59ff8faa2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/pngdec.c

+ 1
- 1
libavcodec/pngdec.c View File

@@ -853,7 +853,7 @@ static int decode_frame(AVCodecContext *avctx,
}
}

s->current_picture->metadata = metadata;
av_frame_set_metadata(&s->current_picture, metadata);
metadata = NULL;
*picture = *s->current_picture;
*got_frame = 1;


Loading…
Cancel
Save