This will trigger a few warnings that need to be fixed, as this function can return AVERROR(ENOMEM).
-------------------------------------------------------------- Inspired by a patch sent by Paul for the IVR demuxer. Signed-off-by: Ganesh Ajjanagadde <gajjanaga...@gmail.com> --- libavformat/avio_internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/avio_internal.h b/libavformat/avio_internal.h index ad50567..655f38a 100644 --- a/libavformat/avio_internal.h +++ b/libavformat/avio_internal.h @@ -102,6 +102,7 @@ int ffio_set_buf_size(AVIOContext *s, int buf_size); * within the current pos and pos+buf_size is possible. * Once the stream position moves outside this window this guarantee is lost. */ +av_warn_unused_result int ffio_ensure_seekback(AVIOContext *s, int64_t buf_size); int ffio_limit(AVIOContext *s, int size); -- 2.6.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel