[MPlayer-dev-eng] [PATCH] mencoder: detect end of audio stream while encoded data still buffered

Grozdan neutrino8 at gmail.com
Sun May 4 13:44:09 CEST 2014


On Sun, May 4, 2014 at 1:39 PM, Kieran Clancy
<clancy.kieran+mplayer at gmail.com> wrote:
> On Sun, May 4, 2014 at 8:58 PM, Grozdan <neutrino8 at gmail.com> wrote:
>>>>> Index: mencoder.c
>>>>> ===================================================================
>>>>> --- mencoder.c    (revision 37181)
>>>>> +++ mencoder.c    (working copy)
>>>>> @@ -1362,7 +1362,7 @@
>>>>>                  len = dec_audio(sh_audio,aencoder->decode_buffer,
>>>>> aencoder->decode_buffer_size);
>>>>>                  if(len <= 0)
>>>>>                  {
>>>>> -                    len = 0;
>>>>> +                    len = mux_a->buffer_len;
>>>>>                      break;
>>>>>                  }
>>>>>                  len = aencoder->encode(aencoder, mux_a->buffer +
>>>>> mux_a->buffer_len, aencoder->decode_buffer, len,
>>>>> mux_a->buffer_size-mux_a->buffer_len);
>>
>> I don't see a patch
>
> You just quoted the patch... I did say it was inline.
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng


I see it now, but didn't Reimar say it doesn't make sense a few mails back?

-- 
Yours truly


More information about the MPlayer-dev-eng mailing list