Revision 5d6e4c16 libavcodec/adpcm.c

View differences:

libavcodec/adpcm.c
737 737
    default:
738 738
        break;
739 739
    }
740
    avctx->sample_fmt = SAMPLE_FMT_S16;
740
    avctx->sample_fmt = AV_SAMPLE_FMT_S16;
741 741
    return 0;
742 742
}
743 743

  
......
1678 1678
    adpcm_encode_frame,                         \
1679 1679
    adpcm_encode_close,                         \
1680 1680
    NULL,                                       \
1681
    .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, \
1681
    .sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE}, \
1682 1682
    .long_name = NULL_IF_CONFIG_SMALL(long_name_), \
1683 1683
};
1684 1684
#else

Also available in: Unified diff