]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/audioconvert.c
lavc: Check CODEC_CAP_VARIABLE_FRAME_SIZE && !frame
[ffmpeg] / libavcodec / audioconvert.c
index e101095e40c1f41b59024e5bed23e270b39bdc50..c48fbb74c5a3b84e003dd117b8fb1775a41376f7 100644 (file)
@@ -48,7 +48,7 @@ void avcodec_sample_fmt_string (char *buf, int buf_size, int sample_fmt)
 }
 #endif
 
-int64_t avcodec_guess_channel_layout(int nb_channels, enum CodecID codec_id, const char *fmt_name)
+uint64_t avcodec_guess_channel_layout(int nb_channels, enum CodecID codec_id, const char *fmt_name)
 {
     switch(nb_channels) {
     case 1: return AV_CH_LAYOUT_MONO;