comparison sonic.c @ 7451:85ab7655ad4d libavcodec

Modify all codecs to report their supported input and output sample format(s).
author pross
date Thu, 31 Jul 2008 10:47:31 +0000
parents 322023e630a6
children dbcdd0165e55
comparison
equal deleted inserted replaced
7450:30d38a880fde 7451:85ab7655ad4d
826 if (!s->coded_samples[i]) 826 if (!s->coded_samples[i])
827 return -1; 827 return -1;
828 } 828 }
829 s->int_samples = av_mallocz(4* s->frame_size); 829 s->int_samples = av_mallocz(4* s->frame_size);
830 830
831 avctx->sample_fmt = SAMPLE_FMT_S16;
831 return 0; 832 return 0;
832 } 833 }
833 834
834 static av_cold int sonic_decode_close(AVCodecContext *avctx) 835 static av_cold int sonic_decode_close(AVCodecContext *avctx)
835 { 836 {