On 11/28/2011 08:52 PM, Paul B. Mahol wrote:
> ---
> libavcodec/shorten.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c
> index ee01e88..6b93a03 100644
> --- a/libavcodec/shorten.c
> +++ b/libavcodec/shorten.c
> @@ -323,15 +323,14 @@ static int read_header(ShortenContext *s)
> if (get_bits_long(&s->gb, 32) != AV_RB32("ajkg")) {
> av_log(s->avctx, AV_LOG_ERROR, "missing shorten magic 'ajkg'\n");
> return -1;
> }
>
> s->lpcqoffset = 0;
> s->blocksize = DEFAULT_BLOCK_SIZE;
> - s->channels = 1;
> s->nmean = -1;
> s->version = get_bits(&s->gb, 8);
> s->internal_ftype = get_uint(s, TYPESIZE);
>
> s->channels = get_uint(s, CHANSIZE);
> if (s->channels > MAX_CHANNELS) {
> av_log(s->avctx, AV_LOG_ERROR, "too many channels: %d\n",
> s->channels);
ok.
will push today or tomorrow.
thanks,
Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel