Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -103,9 +103,7 @@ static av_cold int osq_init(AVCodecContext *avctx) · 102 unmodified lines | ||
| 103 | 103 | case 8: avctx->sample_fmt = AV_SAMPLE_FMT_U8P; break; |
| 104 | 104 | case 16: avctx->sample_fmt = AV_SAMPLE_FMT_S16P; break; |
| 105 | 105 | case 20: |
| 106 | − case 24: | |
| 107 | − case 28: | |
| 108 | − case 32: s->factor = 1 << (32 - avctx->extradata[2]); | |
| 106 | + case 24: s->factor = 256; | |
| 109 | 107 | avctx->sample_fmt = AV_SAMPLE_FMT_S32P; break; |
| 110 | 108 | default: return AVERROR_INVALIDDATA; |
| 111 | 109 | } |