[FFmpeg-cvslog] r13972 - trunk/libavformat/utils.c
Baptiste Coudurier
baptiste.coudurier
Wed Jun 25 20:42:11 CEST 2008
michael wrote:
> Author: michael
> Date: Wed Jun 25 20:36:41 2008
> New Revision: 13972
>
> Log:
> Make av_find_stream_info() find the frame_size for vorbis.
>
>
> Modified:
> trunk/libavformat/utils.c
>
> Modified: trunk/libavformat/utils.c
> ==============================================================================
> --- trunk/libavformat/utils.c (original)
> +++ trunk/libavformat/utils.c Wed Jun 25 20:36:41 2008
> @@ -1729,6 +1729,8 @@ static int has_codec_parameters(AVCodecC
> switch(enc->codec_type) {
> case CODEC_TYPE_AUDIO:
> val = enc->sample_rate && enc->channels;
> + if(enc->codec_id == CODEC_ID_VORBIS && !enc->frame_size)
> + return 0;
> break;
Nice, can I add AAC ? This would makes streamcopy flawless.
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Smartjog USA Inc. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
More information about the ffmpeg-cvslog
mailing list