[FFmpeg-cvslog] lavf: add return to silence compiler warning

Michael Niedermayer git at videolan.org
Thu Jan 3 20:14:15 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jan  3 16:02:47 2013 +0100| [bbb11f383ee86cb7e6dbd5205f817d6a92e91d99] | committer: Michael Niedermayer

lavf: add return to silence compiler warning

The added statement is not reachable

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bbb11f383ee86cb7e6dbd5205f817d6a92e91d99
---

 libavformat/utils.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 195814b..1ffde23 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2123,6 +2123,7 @@ int avformat_seek_file(AVFormatContext *s, int stream_index, int64_t min_ts, int
     }
 
     // try some generic seek like seek_frame_generic() but with new ts semantics
+    return -1; //unreachable
 }
 
 /*******************************************************/



More information about the ffmpeg-cvslog mailing list