On 12/27/17, 11:55 AM, "Steven Liu" <lingjiujia...@gmail.com> wrote:

>2017-11-20 15:58 GMT+08:00 Steven Liu <l...@chinaffmpeg.org>:
>> fix ticket id: #6846
>>
>> Signed-off-by: Steven Liu <l...@chinaffmpeg.org>
>> ---
>>  libavformat/avio.c | 10 ++++++----
>>  1 file changed, 6 insertions(+), 4 deletions(-)
>>
>>[…]
>>  int ffurl_shutdown(URLContext *h, int flags)
>>  {
>> -    if (!h->prot->url_shutdown)
>> -        return AVERROR(EINVAL);
>> +    if (!h || !h->prot || !h->prot->url_shutdown)
>> +        return AVERROR(ENOSYS);
>>      return h->prot->url_shutdown(h, flags);
>>  }
>>
>> --
>> 2.13.6 (Apple Git-96)
>>
>>
>>
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel@ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>ping

LGTM. 
In fact, I would like this change to be merged to handle some error cases in 
hlsenc as well.

Thanks,
Karthick

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to