Mercurial > libavformat.hg
comparison flvenc.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 | c7b98381ec2d |
comparison
equal
deleted
inserted
replaced
5912:10f577d87c71 | 5913:11bb10c37225 |
---|---|
349 if(flags == 0) { | 349 if(flags == 0) { |
350 av_log(enc, AV_LOG_ERROR, "video codec %X not compatible with flv\n",enc->codec_id); | 350 av_log(enc, AV_LOG_ERROR, "video codec %X not compatible with flv\n",enc->codec_id); |
351 return -1; | 351 return -1; |
352 } | 352 } |
353 | 353 |
354 flags |= pkt->flags & PKT_FLAG_KEY ? FLV_FRAME_KEY : FLV_FRAME_INTER; | 354 flags |= pkt->flags & AV_PKT_FLAG_KEY ? FLV_FRAME_KEY : FLV_FRAME_INTER; |
355 } else { | 355 } else { |
356 assert(enc->codec_type == AVMEDIA_TYPE_AUDIO); | 356 assert(enc->codec_type == AVMEDIA_TYPE_AUDIO); |
357 flags = get_audio_flags(enc); | 357 flags = get_audio_flags(enc); |
358 | 358 |
359 assert(size); | 359 assert(size); |