Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictorien Le Couviour--Tuffet <victorien@videolan.org>2020-10-21 14:14:26 +0300
committerVictorien Le Couviour--Tuffet <victorien@videolan.org>2020-10-21 15:37:12 +0300
commita40d3b5f0f7b0bf947bd570114924b9055d581f8 (patch)
tree237cce0eda361dc05696063ad887d93830c8a0a3
parent901704e8cb03a880442c9cd67c098c7977c4f35d (diff)
Abort frame decoding properly on reference error
This could cause a frame waiting on the current one to not be notified on error. Fixes #351.
-rw-r--r--src/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c
index 104dd82..57de615 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -3102,7 +3102,7 @@ int dav1d_decode_frame(Dav1dFrameContext *const f) {
4 * (t->by + f->sb_step),
PLANE_TYPE_BLOCK))
{
- return 1;
+ goto error;
}
dav1d_refmvs_load_tmvs(&f->rf, tile_row,
0, f->bw >> 1, t->by >> 1, by_end);