You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/wavpackenc: unbreak encoding 8bit pcm
Otherwise the reference decoder reports crc errors.
This commit is contained in:
@@ -2824,7 +2824,7 @@ static void fill_buffer(WavPackEncodeContext *s,
|
||||
|
||||
switch (s->avctx->sample_fmt) {
|
||||
case AV_SAMPLE_FMT_U8P:
|
||||
COPY_SAMPLES(int8_t, 0x80, 0);
|
||||
COPY_SAMPLES(uint8_t, 0x80, 0);
|
||||
break;
|
||||
case AV_SAMPLE_FMT_S16P:
|
||||
COPY_SAMPLES(int16_t, 0, 0);
|
||||
|
Reference in New Issue
Block a user