aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-13 13:36:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-10-13 16:12:30 +0200
commit57884172e0c797a8268fba6e9672ce22c398d9ac (patch)
tree8c47489d0262ecaa3077b1295d8efb2654f48e69
parenta586b3d9b1df9099c18d3e15c9b261f6612ad2ac (diff)
downloadffmpeg-57884172e0c797a8268fba6e9672ce22c398d9ac.tar.gz
avformat/mov: fix mix of declaration and statement
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 71c2e29c5a..f7b10ecfb2 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");