[FFmpeg-cvslog] avformat/mov: fix mix of declaration and statement

Michael Niedermayer git at videolan.org
Mon Oct 13 16:17:51 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Oct 13 13:36:06 2014 +0200| [57884172e0c797a8268fba6e9672ce22c398d9ac] | committer: Michael Niedermayer

avformat/mov: fix mix of declaration and statement

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

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

 libavformat/mov.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 71c2e29..f7b10ec 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -780,9 +780,9 @@ static int mov_read_moof(MOVContext *c, AVIOContext *pb, MOVAtom atom)
     if (!c->has_looked_for_mfra && c->use_mfra_for > 0) {
         c->has_looked_for_mfra = 1;
         if (pb->seekable) {
+            int ret;
             av_log(c->fc, AV_LOG_VERBOSE, "stream has moof boxes, will look "
                     "for a mfra\n");
-            int ret;
             if ((ret = mov_read_mfra(c, pb)) < 0) {
                 av_log(c->fc, AV_LOG_VERBOSE, "found a moof box but failed to "
                         "read the mfra (may be a live ismv)\n");



More information about the ffmpeg-cvslog mailing list