[FFmpeg-devel] [PATCH 7/9] lavf/oggdec: remove inappropriate error message.
Clément Bœsch
ubitux at gmail.com
Sat Sep 15 01:20:46 CEST 2012
idx contains the correct error code and will raise the appropriate
error message.
---
libavformat/oggdec.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
index 2c7bbd8..aed49a5 100644
--- a/libavformat/oggdec.c
+++ b/libavformat/oggdec.c
@@ -275,10 +275,8 @@ static int ogg_read_page(AVFormatContext *s, int *sid)
} else {
idx = ogg_new_stream(s, serial, 1);
}
- if (idx < 0) {
- av_log (s, AV_LOG_ERROR, "failed to create stream (OOM?)\n");
+ if (idx < 0)
return idx;
- }
}
os = ogg->streams + idx;
--
1.7.12
More information about the ffmpeg-devel
mailing list