Commit 6b6672dc authored by michael's avatar michael

try to fill in missing bits_per_sample


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8043 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 042d8f12
......@@ -2018,6 +2018,9 @@ int av_find_stream_info(AVFormatContext *ic)
st->r_frame_rate.den = st->time_base.num;
}
}
}else if(st->codec->codec_type == CODEC_TYPE_AUDIO) {
if(!st->codec->bits_per_sample)
st->codec->bits_per_sample= av_get_bits_per_sample(st->codec->codec_id);
}
}
......
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