Ticket #5989: proper_fix_in_pcm.c.diff

File proper_fix_in_pcm.c.diff, 409 bytes (added by skamithi, 15 years ago)

after reading ffmpeg alias, looks like code was changed to support LPCM. found what looks to be atypo int he code that is causing this problem. attached fix

  • libs/libavcodec/pcm.c

     
    373373
    374374    n = buf_size/sample_size;
    375375
    376     switch(avctx->codec->id) {
     376    switch(avctx->codec_id) {
    377377    case CODEC_ID_PCM_U32LE:
    378378        DECODE(uint32_t, le32, src, samples, n, 0, 0x80000000)
    379379        break;