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

Kieran Clancy clancy.kieran+mplayer at gmail.com
Sun May 4 13:39:12 CEST 2014


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.


More information about the MPlayer-dev-eng mailing list