OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1342339
)
avfilter/scale_npp: fix passthrough mode
author
Yogender Gupta
<ygupta@nvidia.com>
Mon, 24 Oct 2016 12:32:01 +0000
(18:02 +0530)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Tue, 25 Oct 2016 21:17:31 +0000
(23:17 +0200)
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/vf_scale_npp.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_scale_npp.c
b/libavfilter/vf_scale_npp.c
index
35abe39
..
8eafdc8
100644
(file)
--- a/
libavfilter/vf_scale_npp.c
+++ b/
libavfilter/vf_scale_npp.c
@@
-349,7
+349,7
@@
static int init_processing_chain(AVFilterContext *ctx, int in_width, int in_heig
}
if (last_stage < 0)
- return
AVERROR_BUG
;
+ return
0
;
ctx->outputs[0]->hw_frames_ctx = av_buffer_ref(s->stages[last_stage].frames_ctx);
if (!ctx->outputs[0]->hw_frames_ctx)
return AVERROR(ENOMEM);