dca: Error out on missing DSYNC
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org (cherry picked from commit f261e508459e28beca59868a878e1519a44bb678) Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
parent
62c3547539
commit
ce3ce08850
@ -1254,6 +1254,7 @@ static int dca_subsubframe(DCAContext *s, int base_channel, int block_index)
|
|||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
av_log(s->avctx, AV_LOG_ERROR, "Didn't get subframe DSYNC\n");
|
av_log(s->avctx, AV_LOG_ERROR, "Didn't get subframe DSYNC\n");
|
||||||
|
return AVERROR_INVALIDDATA;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user