]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ac3enc_float.c
h264: allocate hwaccel privdata after the frame buffer
[ffmpeg] / libavcodec / ac3enc_float.c
index 45645da6550b2e7546c0cbf7488b7c427716bae2..a225d9b4bd10913a2a8d5ce5f79459b11bd69bd8 100644 (file)
@@ -148,7 +148,7 @@ AVCodec ff_ac3_encoder = {
     .init            = ff_ac3_encode_init,
     .encode2         = ff_ac3_float_encode_frame,
     .close           = ff_ac3_encode_close,
-    .sample_fmts     = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLT,
+    .sample_fmts     = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLTP,
                                                       AV_SAMPLE_FMT_NONE },
     .long_name       = NULL_IF_CONFIG_SMALL("ATSC A/52A (AC-3)"),
     .priv_class      = &ac3enc_class,