[vlc-commits] dav1d: don't feed NULL data unless we have no source block
Steve Lhomme
git at videolan.org
Fri Nov 9 17:54:55 CET 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Nov 9 17:50:48 2018 +0100| [e817a73ae8a047678a0ad502136eff10aa93db96] | committer: Steve Lhomme
dav1d: don't feed NULL data unless we have no source block
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e817a73ae8a047678a0ad502136eff10aa93db96
---
modules/codec/dav1d.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/modules/codec/dav1d.c b/modules/codec/dav1d.c
index 84d5a6b50f..de6d6ae126 100644
--- a/modules/codec/dav1d.c
+++ b/modules/codec/dav1d.c
@@ -227,11 +227,6 @@ static int Decode(decoder_t *dec, block_t *block)
picture_Hold(pic);
decoder_QueueVideo(dec, pic);
dav1d_picture_unref(&img);
-
- if (p_data && p_data->sz == 0)
- {
- p_data = NULL; /* no more data, continue until we get EAGAIN */
- }
}
else if (res != -EAGAIN)
{
More information about the vlc-commits
mailing list