Commit ed1d8fb0 authored by michael's avatar michael

Make av_find_stream_info() find the frame_size for vorbis.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13972 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0c33e712
......@@ -1729,6 +1729,8 @@ static int has_codec_parameters(AVCodecContext *enc)
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;
case CODEC_TYPE_VIDEO:
val = enc->width && enc->pix_fmt != PIX_FMT_NONE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment