mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 02:20:07 +01:00
Fix various unused variable warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
fd38a15adf
commit
adba9c6352
@@ -186,7 +186,7 @@ static int mmf_read_header(AVFormatContext *s,
|
||||
unsigned int tag;
|
||||
AVIOContext *pb = s->pb;
|
||||
AVStream *st;
|
||||
int64_t file_size, size;
|
||||
int64_t file_size av_unused, size;
|
||||
int rate, params;
|
||||
|
||||
tag = avio_rl32(pb);
|
||||
@@ -263,12 +263,10 @@ static int mmf_read_packet(AVFormatContext *s,
|
||||
AVPacket *pkt)
|
||||
{
|
||||
MMFContext *mmf = s->priv_data;
|
||||
AVStream *st;
|
||||
int ret, size;
|
||||
|
||||
if (url_feof(s->pb))
|
||||
return AVERROR(EIO);
|
||||
st = s->streams[0];
|
||||
|
||||
size = MAX_SIZE;
|
||||
if(size > mmf->data_size)
|
||||
|
||||
Reference in New Issue
Block a user