]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/qcelpdec.c
vaapi_encode: Write sequence header as extradata
[ffmpeg] / libavcodec / qcelpdec.c
index d4a82ee9010de51d6ddfaf4f554e789013c4dbf2..e9e73475c33c082c0e0b932eada93c4c255576e3 100644 (file)
@@ -600,7 +600,7 @@ static qcelp_packet_rate buf_size2bitrate(const int buf_size)
  *
  * @param avctx the AV codec context
  * @param buf_size length of the buffer
- * @param buf the bufffer
+ * @param buf the buffer
  *
  * @return the bitrate on success,
  *         I_F_Q  if the bitrate cannot be satisfactorily determined
@@ -794,6 +794,6 @@ AVCodec ff_qcelp_decoder = {
     .id             = AV_CODEC_ID_QCELP,
     .init           = qcelp_decode_init,
     .decode         = qcelp_decode_frame,
-    .capabilities   = CODEC_CAP_DR1,
+    .capabilities   = AV_CODEC_CAP_DR1,
     .priv_data_size = sizeof(QCELPContext),
 };