[Ffmpeg-cvslog] r8043 - trunk/libavformat/utils.c
michael
subversion
Tue Feb 20 17:18:59 CET 2007
Author: michael
Date: Tue Feb 20 17:18:59 2007
New Revision: 8043
Modified:
trunk/libavformat/utils.c
Log:
try to fill in missing bits_per_sample
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c (original)
+++ trunk/libavformat/utils.c Tue Feb 20 17:18:59 2007
@@ -2018,6 +2018,9 @@
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);
}
}
More information about the ffmpeg-cvslog
mailing list