projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad9c105
)
Do not completely bail out for invalid params, just skip the current sector.
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 26 Jun 2008 23:00:00 +0000
(23:00 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 26 Jun 2008 23:00:00 +0000
(23:00 +0000)
Originally committed as revision 14002 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/psxstr.c
patch
|
blob
|
history
diff --git
a/libavformat/psxstr.c
b/libavformat/psxstr.c
index
7f5fe79
..
5be7a95
100644
(file)
--- a/
libavformat/psxstr.c
+++ b/
libavformat/psxstr.c
@@
-151,7
+151,7
@@
static int str_read_packet(AVFormatContext *s,
&& current_sector < sector_count
&& sector_count*VIDEO_DATA_CHUNK_SIZE >=frame_size)){
av_log(s, AV_LOG_ERROR, "Invalid parameters %d %d %d\n", current_sector, sector_count, frame_size);
-
return AVERROR_INVALIDDATA
;
+
break
;
}
if(str->channels[channel].video_stream_index < 0){