1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avformat/mov: fix mix of declaration and statement

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2014-10-13 13:36:06 +02:00
parent a586b3d9b1
commit 57884172e0

View File

@@ -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) { if (!c->has_looked_for_mfra && c->use_mfra_for > 0) {
c->has_looked_for_mfra = 1; c->has_looked_for_mfra = 1;
if (pb->seekable) { if (pb->seekable) {
int ret;
av_log(c->fc, AV_LOG_VERBOSE, "stream has moof boxes, will look " av_log(c->fc, AV_LOG_VERBOSE, "stream has moof boxes, will look "
"for a mfra\n"); "for a mfra\n");
int ret;
if ((ret = mov_read_mfra(c, pb)) < 0) { if ((ret = mov_read_mfra(c, pb)) < 0) {
av_log(c->fc, AV_LOG_VERBOSE, "found a moof box but failed to " av_log(c->fc, AV_LOG_VERBOSE, "found a moof box but failed to "
"read the mfra (may be a live ismv)\n"); "read the mfra (may be a live ismv)\n");