Commit 350cae2e authored by michael's avatar michael

Removing dead code, fixes CID4 RUN2.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13507 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 161bf49c
......@@ -253,11 +253,9 @@ static int str_read_packet(AVFormatContext *s,
StrDemuxContext *str = s->priv_data;
unsigned char sector[RAW_CD_SECTOR_SIZE];
int channel;
int packet_read = 0;
int ret = 0;
AVPacket *pkt;
while (!packet_read) {
while (1) {
if (get_buffer(pb, sector, RAW_CD_SECTOR_SIZE) != RAW_CD_SECTOR_SIZE)
return AVERROR(EIO);
......@@ -340,8 +338,6 @@ printf (" dropping other sector\n");
if (url_feof(pb))
return AVERROR(EIO);
}
return ret;
}
static int str_read_close(AVFormatContext *s)
......
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