On Thu, Oct 13, 2011 at 05:45:54PM -0400, Justin Ruggles wrote:
> ---
> libavcodec/shorten.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c
> index 8031758..7fdd86c 100644
> --- a/libavcodec/shorten.c
> +++ b/libavcodec/shorten.c
> @@ -442,9 +442,8 @@ static int shorten_decode_frame(AVCodecContext *avctx,
> {
> if ((ret = read_header(s)) < 0)
> return ret;
> - *data_size = 0;
> }
> - else
> +
> {
> int cmd;
> int len;
> --
maybe check if there's data left after the header and then decode but in
pinciple OK
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel