Commit b0ba2bf8 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'fab694dd'

* commit 'fab694dd':
  lavf: move a variable declaration to the block where it's used

Conflicts:
	libavformat/utils.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 8d14596b fab694dd
......@@ -2214,12 +2214,12 @@ static void fill_all_stream_timings(AVFormatContext *ic)
static void estimate_timings_from_bit_rate(AVFormatContext *ic)
{
int64_t filesize, duration;
int bit_rate, i, show_warning = 0;
int i, show_warning = 0;
AVStream *st;
/* if bit_rate is already set, we believe it */
if (ic->bit_rate <= 0) {
bit_rate = 0;
int bit_rate = 0;
for(i=0;i<ic->nb_streams;i++) {
st = ic->streams[i];
if (st->codec->bit_rate > 0)
......
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