Mercurial > libavcodec.hg
comparison pngdec.c @ 11563:5111783be6ad libavcodec
Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.
Patch by Jean-Daniel Dupas, devlists shadowlab org
author | cehoyos |
---|---|
date | Wed, 31 Mar 2010 12:29:58 +0000 |
parents | 8a4984c5cacc |
children | aef934aa4787 |
comparison
equal
deleted
inserted
replaced
11562:66f3d2ff88b7 | 11563:5111783be6ad |
---|---|
597 } | 597 } |
598 } | 598 } |
599 exit_loop: | 599 exit_loop: |
600 /* handle p-frames only if a predecessor frame is available */ | 600 /* handle p-frames only if a predecessor frame is available */ |
601 if(s->last_picture->data[0] != NULL) { | 601 if(s->last_picture->data[0] != NULL) { |
602 if(!(avpkt->flags & PKT_FLAG_KEY)) { | 602 if(!(avpkt->flags & AV_PKT_FLAG_KEY)) { |
603 int i, j; | 603 int i, j; |
604 uint8_t *pd = s->current_picture->data[0]; | 604 uint8_t *pd = s->current_picture->data[0]; |
605 uint8_t *pd_last = s->last_picture->data[0]; | 605 uint8_t *pd_last = s->last_picture->data[0]; |
606 | 606 |
607 for(j=0; j < s->height; j++) { | 607 for(j=0; j < s->height; j++) { |