On Tue, Oct 25, 2011 at 11:44:01AM -0400, Justin Ruggles wrote:
> Also return AVERROR_PATCHWELCOME.
> ---
> libavcodec/alac.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/libavcodec/alac.c b/libavcodec/alac.c
> index 6b10bf6..85a441a 100644
> --- a/libavcodec/alac.c
> +++ b/libavcodec/alac.c
> @@ -617,9 +617,9 @@ static av_cold int alac_decode_init(AVCodecContext *
> avctx)
> break;
> case 24: avctx->sample_fmt = AV_SAMPLE_FMT_S32;
> break;
> - default: av_log(avctx, AV_LOG_ERROR, "Sample depth %d is not
> supported.\n",
> - alac->setinfo_sample_size);
> - return -1;
> + default: av_log_ask_for_sample(avctx, "Sample depth %d is not
> supported.\n",
> + alac->setinfo_sample_size);
> + return AVERROR_PATCHWELCOME;
> }
>
> if (alac->numchannels < 1) {
> --
OK
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel