Commit 04f339b5 authored by mru's avatar mru

set sample rate in more logical place, kill warning


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9552 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1a3f7b27
...@@ -146,9 +146,9 @@ static int mpegaudio_parse(AVCodecParserContext *s1, ...@@ -146,9 +146,9 @@ static int mpegaudio_parse(AVCodecParserContext *s1,
s->frame_size = -1; s->frame_size = -1;
} }
#endif #endif
}
if(s->header_count > 1) if(s->header_count > 1)
avctx->sample_rate= sr; avctx->sample_rate= sr;
}
} }
} else } else
#if 0 #if 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