comparison flvenc.c @ 1443:404048ea11bc libavformat

Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts. patch by Steve Lhomme, slhomme divxcorp com
author diego
date Wed, 01 Nov 2006 22:39:58 +0000
parents 3b00fb8ef8e4
children e48e3a714f24
comparison
equal deleted inserted replaced
1442:c2b748de9b35 1443:404048ea11bc
237 AVCodecContext *enc = s->streams[pkt->stream_index]->codec; 237 AVCodecContext *enc = s->streams[pkt->stream_index]->codec;
238 FLVContext *flv = s->priv_data; 238 FLVContext *flv = s->priv_data;
239 int size= pkt->size; 239 int size= pkt->size;
240 int flags; 240 int flags;
241 241
242 // av_log(s, AV_LOG_DEBUG, "type:%d pts: %lld size:%d\n", enc->codec_type, timestamp, size); 242 // av_log(s, AV_LOG_DEBUG, "type:%d pts: %"PRId64" size:%d\n", enc->codec_type, timestamp, size);
243 243
244 if (enc->codec_type == CODEC_TYPE_VIDEO) { 244 if (enc->codec_type == CODEC_TYPE_VIDEO) {
245 put_byte(pb, 9); 245 put_byte(pb, 9);
246 flags = 2; // choose h263 246 flags = 2; // choose h263
247 flags |= pkt->flags & PKT_FLAG_KEY ? 0x10 : 0x20; // add keyframe indicator 247 flags |= pkt->flags & PKT_FLAG_KEY ? 0x10 : 0x20; // add keyframe indicator