X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fthirdparty%2Fsrc%2Fffmpeg-4.4.patch_99;h=e53d07d9aec5d2ff633e8e9854998c7b9178e259;hb=031eb92cba8bf1f68c364ca7b5c0a1ab650be199;hp=6a66ff2072af2a66373b0024456e2a5e2cf27dc7;hpb=6a349d153f1a6e7060fabf71b2856c2a5eaa4f56;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/thirdparty/src/ffmpeg-4.4.patch_99 b/cinelerra-5.1/thirdparty/src/ffmpeg-4.4.patch_99 index 6a66ff20..e53d07d9 100644 --- a/cinelerra-5.1/thirdparty/src/ffmpeg-4.4.patch_99 +++ b/cinelerra-5.1/thirdparty/src/ffmpeg-4.4.patch_99 @@ -45,12 +45,12 @@ + switch(avctx->sample_fmt) { + case AV_SAMPLE_FMT_S16: + avctx->bits_per_coded_sample = 16; -+ frame_size = 120; ++ frame_size = 240; + quant =1; + break; + case AV_SAMPLE_FMT_S32: + avctx->bits_per_coded_sample = 24; -+ frame_size = 180; ++ frame_size = 360; + quant =3; + break; + default: @@ -62,13 +62,13 @@ freq = 1; break; case 96000: -+ frame_size *= 2; ++ //frame_size *= 2; freq = 4; break; case 192000: - freq = 5; - break; -+ frame_size *= 4; ++ //frame_size *= 4; + freq = 5; + break; + default: @@ -79,7 +79,7 @@ - case AV_SAMPLE_FMT_S16: - avctx->bits_per_coded_sample = 16; - quant = 1; -+ frame_size *= avctx->channels; ++ //frame_size *= avctx->channels; + + switch (avctx->channel_layout) { + case AV_CH_LAYOUT_MONO: