From cc947f04cc16033d651fda5aab91e4a3c4b6bd4d Mon Sep 17 00:00:00 2001 From: Jean-Daniel Dupas Date: Wed, 31 Mar 2010 12:29:58 +0000 Subject: Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. Patch by Jean-Daniel Dupas, devlists shadowlab org Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/pngdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/pngdec.c') diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 382ba524cc..aa05ff020b 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -599,7 +599,7 @@ static int decode_frame(AVCodecContext *avctx, exit_loop: /* handle p-frames only if a predecessor frame is available */ if(s->last_picture->data[0] != NULL) { - if(!(avpkt->flags & PKT_FLAG_KEY)) { + if(!(avpkt->flags & AV_PKT_FLAG_KEY)) { int i, j; uint8_t *pd = s->current_picture->data[0]; uint8_t *pd_last = s->last_picture->data[0]; -- cgit v1.2.3