[FFmpeg-cvslog] r13507 - trunk/libavformat/psxstr.c
michael
subversion
Wed May 28 23:14:11 CEST 2008
Author: michael
Date: Wed May 28 23:14:10 2008
New Revision: 13507
Log:
Removing dead code, fixes CID4 RUN2.
Modified:
trunk/libavformat/psxstr.c
Modified: trunk/libavformat/psxstr.c
==============================================================================
--- trunk/libavformat/psxstr.c (original)
+++ trunk/libavformat/psxstr.c Wed May 28 23:14:10 2008
@@ -253,11 +253,9 @@ static int str_read_packet(AVFormatConte
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)
More information about the ffmpeg-cvslog
mailing list