mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-21 14:26:59 +00:00
bit: remove unused variable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a5e8492796
commit
bf85b909f6
@ -49,7 +49,6 @@ static int read_packet(AVFormatContext *s,
|
|||||||
PutBitContext pbo;
|
PutBitContext pbo;
|
||||||
uint16_t buf[8 * MAX_FRAME_SIZE + 2];
|
uint16_t buf[8 * MAX_FRAME_SIZE + 2];
|
||||||
int packet_size;
|
int packet_size;
|
||||||
int sync;
|
|
||||||
uint16_t* src=buf;
|
uint16_t* src=buf;
|
||||||
int i, j, ret;
|
int i, j, ret;
|
||||||
int64_t pos= avio_tell(pb);
|
int64_t pos= avio_tell(pb);
|
||||||
@ -57,7 +56,7 @@ static int read_packet(AVFormatContext *s,
|
|||||||
if(url_feof(pb))
|
if(url_feof(pb))
|
||||||
return AVERROR_EOF;
|
return AVERROR_EOF;
|
||||||
|
|
||||||
sync = get_le16(pb); // sync word
|
get_le16(pb); // sync word
|
||||||
packet_size = get_le16(pb) / 8;
|
packet_size = get_le16(pb) / 8;
|
||||||
if(packet_size > MAX_FRAME_SIZE)
|
if(packet_size > MAX_FRAME_SIZE)
|
||||||
return AVERROR(EIO);
|
return AVERROR(EIO);
|
||||||
|
Loading…
Reference in New Issue
Block a user