[FFmpeg-devel] [PATCH] avfilter/sr: process and output message when load_model is NULL
Steven Liu
lq at chinaffmpeg.org
Tue Sep 25 16:58:59 EEST 2018
> On Sep 24, 2018, at 22:00, Steven Liu <lq at chinaffmpeg.org> wrote:
>
>
>
>> On Sep 24, 2018, at 21:52, Pedro Arthur <bygrandao at gmail.com> wrote:
>>
>> 2018-09-24 0:35 GMT-03:00 Steven Liu <lq at chinaffmpeg.org>:
>>
>>> fix ticket: 7455
>>>
>>> Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
>>> ---
>>> libavfilter/dnn_interface.c | 4 ++++
>>> libavfilter/vf_sr.c | 7 ++++++-
>>> 2 files changed, 10 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/libavfilter/dnn_interface.c b/libavfilter/dnn_interface.c
>>> index 78d7c5cf22..792c280c53 100644
>>> --- a/libavfilter/dnn_interface.c
>>> +++ b/libavfilter/dnn_interface.c
>>> @@ -52,6 +52,10 @@ DNNModule *ff_get_dnn_module(DNNBackendType
>>> backend_type)
>>> av_freep(&dnn_module);
>>> return NULL;
>>> #endif
>>> + default:
>>> + av_log(NULL, AV_LOG_ERROR, "Module backend_type is not native or
>>> tensorflow\n");
>>> + av_freep(&dnn_module);
>>> + return NULL;
>>> }
>>>
>> It is missing a break in the DNN_TF case, the rest looks good.
> Fixed locally.
>>
>> Thanks.
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> Thanks
> Steven
Pushed
Thanks
Steven
More information about the ffmpeg-devel
mailing list