]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/af_acopy.c
avformat/mov, movenc: Stop exporting rotation via metadata
[ffmpeg] / libavfilter / af_acopy.c
index a7caec6ae9bc3da8f7cd5c8ac0f1d654c888b918..2d915019db1a2c95764af6acb14488b05efde7ad 100644 (file)
@@ -26,8 +26,10 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
     AVFrame *out = ff_get_audio_buffer(outlink, in->nb_samples);
     int ret;
 
-    if (!out)
+    if (!out) {
         ret = AVERROR(ENOMEM);
+        goto fail;
+    }
 
     ret = av_frame_copy_props(out, in);
     if (ret < 0)