comparison avs.c @ 5913:11bb10c37225 libavformat

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 536e5527c1e0
children
comparison
equal deleted inserted replaced
5912:10f577d87c71 5913:11bb10c37225
111 } 111 }
112 112
113 pkt->size = ret + palette_size; 113 pkt->size = ret + palette_size;
114 pkt->stream_index = avs->st_video->index; 114 pkt->stream_index = avs->st_video->index;
115 if (sub_type == 0) 115 if (sub_type == 0)
116 pkt->flags |= PKT_FLAG_KEY; 116 pkt->flags |= AV_PKT_FLAG_KEY;
117 117
118 return 0; 118 return 0;
119 } 119 }
120 120
121 static int avs_read_audio_packet(AVFormatContext * s, AVPacket * pkt) 121 static int avs_read_audio_packet(AVFormatContext * s, AVPacket * pkt)
132 return 0; /* this indicate EOS */ 132 return 0; /* this indicate EOS */
133 if (ret < 0) 133 if (ret < 0)
134 return ret; 134 return ret;
135 135
136 pkt->stream_index = avs->st_audio->index; 136 pkt->stream_index = avs->st_audio->index;
137 pkt->flags |= PKT_FLAG_KEY; 137 pkt->flags |= AV_PKT_FLAG_KEY;
138 138
139 return size; 139 return size;
140 } 140 }
141 141
142 static int avs_read_packet(AVFormatContext * s, AVPacket * pkt) 142 static int avs_read_packet(AVFormatContext * s, AVPacket * pkt)