Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

mark then free

  • Loading branch information...
commit 8bf8fd252318b575f64558c6f12ba4a6ed415dd7 1 parent b4ab736
@drbrain authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/ffmpeg/format_parameters.rb
View
3  lib/ffmpeg/format_parameters.rb
@@ -5,7 +5,6 @@ class FFMPEG::FormatParameters
builder.prefix <<-C
void free_format_parameters(AVFormatParameters* format_parameters)
{
- fprintf(stderr, "free format parameters\\n");
av_free(format_parameters);
}
C
@@ -23,7 +22,7 @@ class FFMPEG::FormatParameters
if (!format_parameters)
rb_raise(rb_eNoMemError, "unable to allocate AVFormatParameters");
- obj = Data_Wrap_Struct(self, free_format_parameters, NULL, format_parameters);
+ obj = Data_Wrap_Struct(self, NULL, free_format_parameters, format_parameters);
return obj;
}
Please sign in to comment.
Something went wrong with that request. Please try again.