]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/g726.c
mpegvideo_enc: do not modify the input frame.
[ffmpeg] / libavcodec / g726.c
index 402ae3d2ce93c2624455a01ff1f9723a03725873..dbe9e022405dab12918597552850dcbb1d101ba7 100644 (file)
@@ -34,7 +34,7 @@
 /**
  * G.726 11bit float.
  * G.726 Standard uses rather odd 11bit floating point arithmentic for
- * numerous occasions. It's a mistery to me why they did it this way
+ * numerous occasions. It's a mystery to me why they did it this way
  * instead of simply using 32bit integer arithmetic.
  */
 typedef struct Float11 {
@@ -454,7 +454,7 @@ static int g726_decode_frame(AVCodecContext *avctx, void *data,
 
     /* get output buffer */
     c->frame.nb_samples = out_samples;
-    if ((ret = avctx->get_buffer(avctx, &c->frame)) < 0) {
+    if ((ret = ff_get_buffer(avctx, &c->frame)) < 0) {
         av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
         return ret;
     }