Commit ce1c0e99 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '243e8443'

* commit '243e8443':
  alac: Reject rice_limit 0 if compression is used

Conflicts:
	libavcodec/alac.c

See: 4b657a1bMerged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 918c5ea4 243e8443
...@@ -317,7 +317,8 @@ static int decode_element(AVCodecContext *avctx, AVFrame *frame, int ch_index, ...@@ -317,7 +317,8 @@ static int decode_element(AVCodecContext *avctx, AVFrame *frame, int ch_index,
int rice_history_mult[2]; int rice_history_mult[2];
if (!alac->rice_limit) { if (!alac->rice_limit) {
avpriv_request_sample(alac->avctx, "Compression with rice limit 0"); avpriv_request_sample(alac->avctx,
"Compression with rice limit 0");
return AVERROR(ENOSYS); return AVERROR(ENOSYS);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment