Mercurial > libavcodec.hg
comparison libxvidff.c @ 8612:b20c590170cc libavcodec
remove ff_get_fourcc() and use AV_RL32() instead
author | aurel |
---|---|
date | Sat, 17 Jan 2009 12:21:01 +0000 |
parents | a637db9f59b1 |
children | e75610c5da69 |
comparison
equal
deleted
inserted
replaced
8611:a637db9f59b1 | 8612:b20c590170cc |
---|---|
333 avctx->codec_id = CODEC_ID_MPEG4; | 333 avctx->codec_id = CODEC_ID_MPEG4; |
334 } else { | 334 } else { |
335 /* We are claiming to be Xvid */ | 335 /* We are claiming to be Xvid */ |
336 x->quicktime_format = 0; | 336 x->quicktime_format = 0; |
337 if(!avctx->codec_tag) | 337 if(!avctx->codec_tag) |
338 avctx->codec_tag = ff_get_fourcc("xvid"); | 338 avctx->codec_tag = AV_RL32("xvid"); |
339 } | 339 } |
340 | 340 |
341 /* Bframes */ | 341 /* Bframes */ |
342 xvid_enc_create.max_bframes = avctx->max_b_frames; | 342 xvid_enc_create.max_bframes = avctx->max_b_frames; |
343 xvid_enc_create.bquant_offset = 100 * avctx->b_quant_offset; | 343 xvid_enc_create.bquant_offset = 100 * avctx->b_quant_offset; |