Hi,

On Mon, Jun 6, 2011 at 11:43 AM, Luca Barbato <[email protected]> wrote:
> On 6/6/11 9:33 AM, Ronald S. Bultje wrote:
>> On Mon, Jun 6, 2011 at 10:16 AM, Luca Barbato<[email protected]>  wrote:
>>> avio_flush can fail, in particular when used with the rtmp/librtmp
>>> protocol.
>>> ---
>>>  libavformat/flvenc.c |    2 +-
>>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
>>> index b8ae113..b20a3f8 100644
>>> --- a/libavformat/flvenc.c
>>> +++ b/libavformat/flvenc.c
>>> @@ -434,7 +434,7 @@ static int flv_write_packet(AVFormatContext *s,
>>> AVPacket *pkt)
>>>
>>>     av_free(data);
>>>
>>> -    return 0;
>>> +    return pb->error;
>>
>> OK. Is pb always non-NULL here?
>
> Yes, it must =)

As said, patch OK then.

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to