Count all frames with codec_info_nb_frames not just ones with non zero
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 23 Feb 2010 16:29:57 +0000 (16:29 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 23 Feb 2010 16:29:57 +0000 (16:29 +0000)
commitab392695d50ca29fa89e5ddce3df3cbf739ef654
treec196a1174bea4ffaa5862c0302c50743ececcba0
parentd962706f96ba65d64e847fe4bdadfdba95a7f9d2
Count all frames with codec_info_nb_frames not just ones with non zero
duration. I hope this breaks nothing. Its needed for my fix of issue1156

Originally committed as revision 22001 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/utils.c