comparison mtv.c @ 6248:e630da0f5861 libavformat

Add av_ prefix to bswap macros
author mru
date Sat, 10 Jul 2010 22:12:30 +0000
parents e46f8cc350ef
children
comparison
equal deleted inserted replaced
6247:a64b9fa63635 6248:e630da0f5861
186 * for PIX_FMT_RGB565 so here we 186 * for PIX_FMT_RGB565 so here we
187 * just swap bytes as they come 187 * just swap bytes as they come
188 */ 188 */
189 189
190 for(i=0;i<mtv->img_segment_size/2;i++) 190 for(i=0;i<mtv->img_segment_size/2;i++)
191 *((uint16_t *)pkt->data+i) = bswap_16(*((uint16_t *)pkt->data+i)); 191 *((uint16_t *)pkt->data+i) = av_bswap16(*((uint16_t *)pkt->data+i));
192 #endif 192 #endif
193 pkt->stream_index = VIDEO_SID; 193 pkt->stream_index = VIDEO_SID;
194 } 194 }
195 195
196 return ret; 196 return ret;