The Zork PCM decoder does not decode the 1 sample we have correctly, therefore the encoder based on the decoder is also incorrect. There is no good reason to keep the encoder.
Showing the changes to libavcodec/allcodecs.c (1 of 6 files). Show all
Unified · Split
| @@ -313,7 +313,7 @@ void avcodec_register_all(void) · 312 unmodified lines | ||
| 313 | 313 | REGISTER_ENCDEC (PCM_U24LE, pcm_u24le); |
| 314 | 314 | REGISTER_ENCDEC (PCM_U32BE, pcm_u32be); |
| 315 | 315 | REGISTER_ENCDEC (PCM_U32LE, pcm_u32le); |
| 316 | − REGISTER_ENCDEC (PCM_ZORK , pcm_zork); | |
| 316 | + REGISTER_DECODER (PCM_ZORK , pcm_zork); | |
| 317 | 317 | |
| 318 | 318 | /* DPCM codecs */ |
| 319 | 319 | REGISTER_DECODER (INTERPLAY_DPCM, interplay_dpcm); |