diff options
author | wm4 <wm4@nowhere> | 2017-04-07 12:24:26 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-04-07 12:24:26 +0200 |
commit | bcfdcd6226d7c898d790aa88c65d854cda92d35e (patch) | |
tree | 593e8ae51d459e9a5a42af1fd07e558383aacbe1 /video/decode | |
parent | c9d3a79187a9a45ecae8e97af9b68427d1f06eac (diff) | |
download | mpv-bcfdcd6226d7c898d790aa88c65d854cda92d35e.tar.bz2 mpv-bcfdcd6226d7c898d790aa88c65d854cda92d35e.tar.xz |
vd_lavc: fix return value in receive_frame()
Pointed out by uau. Not sure why gcc doesn't warn (it uses ((void*)0)
for NULL).
Diffstat (limited to 'video/decode')
-rw-r--r-- | video/decode/vd_lavc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 44be20ea0c..e78b5812ec 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -1133,7 +1133,7 @@ static bool receive_frame(struct dec_video *vd, struct mp_image **out_image) MP_ERR(vd, "Could not copy back hardware decoded frame.\n"); ctx->hwdec_fail_count = INT_MAX - 1; // force fallback handle_err(vd); - return NULL; + return false; } } |