]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dstdec.c
lavc/x264: Use FF_CODEC_CAP_INIT_THREADSAFE if x264 is new.
[ffmpeg] / libavcodec / dstdec.c
index 0614c99c4bb4991a0b56fff3182707d88ecccd83..8a1bc6a7381cbf93fe988bb555cfe3f5689dc26f 100644 (file)
@@ -37,7 +37,7 @@
 #define DST_MAX_CHANNELS 6
 #define DST_MAX_ELEMENTS (2 * DST_MAX_CHANNELS)
 
-#define DSD_FS44(sample_rate) (sample_rate * 8 / 44100)
+#define DSD_FS44(sample_rate) (sample_rate * 8LL / 44100)
 
 #define DST_SAMPLES_PER_FRAME(sample_rate) (588 * DSD_FS44(sample_rate))