Revision 50d5d129 libav/utils.c

View differences:

libav/utils.c
774 774
        if (st->codec.frame_size <= 1) {
775 775
            frame_size = size / st->codec.channels;
776 776
            /* specific hack for pcm codecs because no frame size is provided */
777
            switch(st->codec.codec->id) {
777
            switch(st->codec.codec_id) {
778 778
            case CODEC_ID_PCM_S16LE:
779 779
            case CODEC_ID_PCM_S16BE:
780 780
            case CODEC_ID_PCM_U16LE:

Also available in: Unified diff