Mercurial > libavcodec.hg
comparison mpegvideo.c @ 1790:be1f5b6137e1 libavcodec
- made --extra-cflags option work on darwin
- allow INTER4V macroblocks for FLV1 codec
- fixed issue in flv file format saving 8 mp3 frames per packet instead of 1
- fixed crasher in flv file format involving mp3 buffer handling
- added FLV1 codec support for swf file format (FlashPlayer6 or above
required) and made it default
- fixed broken mp3 support in swf file format
patch by (Tinic Uro <turo at macromedia dot com>)
cleanup by me
author | michael |
---|---|
date | Fri, 06 Feb 2004 23:56:37 +0000 |
parents | b7340afa261a |
children | 95612d423fde |
comparison
equal
deleted
inserted
replaced
1789:acda5fdfd6e7 | 1790:be1f5b6137e1 |
---|---|
746 if(avctx->rc_min_rate && avctx->rc_max_rate != avctx->rc_min_rate){ | 746 if(avctx->rc_min_rate && avctx->rc_max_rate != avctx->rc_min_rate){ |
747 av_log(avctx, AV_LOG_INFO, "Warning min_rate > 0 but min_rate != max_rate isnt recommanded!\n"); | 747 av_log(avctx, AV_LOG_INFO, "Warning min_rate > 0 but min_rate != max_rate isnt recommanded!\n"); |
748 } | 748 } |
749 | 749 |
750 if((s->flags & CODEC_FLAG_4MV) && s->codec_id != CODEC_ID_MPEG4 | 750 if((s->flags & CODEC_FLAG_4MV) && s->codec_id != CODEC_ID_MPEG4 |
751 && s->codec_id != CODEC_ID_H263 && s->codec_id != CODEC_ID_H263P){ | 751 && s->codec_id != CODEC_ID_H263 && s->codec_id != CODEC_ID_H263P && s->codec_id != CODEC_ID_FLV1){ |
752 av_log(avctx, AV_LOG_ERROR, "4MV not supported by codec\n"); | 752 av_log(avctx, AV_LOG_ERROR, "4MV not supported by codec\n"); |
753 return -1; | 753 return -1; |
754 } | 754 } |
755 | 755 |
756 if(s->obmc && s->avctx->mb_decision != FF_MB_DECISION_SIMPLE){ | 756 if(s->obmc && s->avctx->mb_decision != FF_MB_DECISION_SIMPLE){ |