mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 12:50:49 +08:00
avformat/rmenc: Fix shadowing
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -72,7 +72,6 @@ static int rv10_write_header(AVFormatContext *ctx,
|
||||
{
|
||||
RMMuxContext *rm = ctx->priv_data;
|
||||
AVIOContext *s = ctx->pb;
|
||||
StreamInfo *stream;
|
||||
const char *desc, *mimetype;
|
||||
int nb_packets, packet_total_size, packet_max_size, size, packet_avg_size, i;
|
||||
int bit_rate, v, duration, flags;
|
||||
@@ -142,9 +141,9 @@ static int rv10_write_header(AVFormatContext *ctx,
|
||||
}
|
||||
|
||||
for(i=0;i<ctx->nb_streams;i++) {
|
||||
StreamInfo *const stream = &rm->streams[i];
|
||||
int codec_data_size;
|
||||
|
||||
stream = &rm->streams[i];
|
||||
|
||||
if (stream->par->codec_type == AVMEDIA_TYPE_AUDIO) {
|
||||
desc = "The Audio Stream";
|
||||
|
||||
Reference in New Issue
Block a user