>in case of errors, the context is left in an inconsistent state: The
>PacketDesc linked-list claims that there is data in the FIFO although this is
>wrong. I always prefer avoiding such scenarios over fixing them lateron. In
>this case, fixing them would mean growing the FIFO before >allocating
Nicolas Gaullier:
> Avoid an infinite 'retry' loop in output_packet when flushing.
>
> Signed-off-by: Nicolas Gaullier
> ---
> libavformat/mpegenc.c | 5 -
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
> index e0955a7d33..e11
Avoid an infinite 'retry' loop in output_packet when flushing.
Signed-off-by: Nicolas Gaullier
---
libavformat/mpegenc.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index e0955a7d33..e113a42867 100644
--- a/libavformat/mpe