diff --git a/lib/ffmpeg/format_parameters.rb b/lib/ffmpeg/format_parameters.rb index 37003b5..b8720fa 100644 --- a/lib/ffmpeg/format_parameters.rb +++ b/lib/ffmpeg/format_parameters.rb @@ -7,7 +7,6 @@ class FFMPEG::FormatParameters fprintf(stderr, "free format parameters\\n"); av_free(format_parameters); } - C ## diff --git a/lib/ffmpeg/frame.rb b/lib/ffmpeg/frame.rb index 8523dfa..28d57cd 100644 --- a/lib/ffmpeg/frame.rb +++ b/lib/ffmpeg/frame.rb @@ -162,13 +162,13 @@ def initialize(width=nil, height=nil, pix_fmt=nil) def type case pict_type - when I_TYPE ; :I_TYPE - when P_TYPE ; :P_TYPE - when B_TYPE ; :B_TYPE - when S_TYPE ; :S_TYPE - when SI_TYPE ; :S_TYPE - when SP_TYPE ; :SP_TYPE - when BI_TYPE ; :BI_TYPE + when I_TYPE then :I_TYPE + when P_TYPE then :P_TYPE + when B_TYPE then :B_TYPE + when S_TYPE then :S_TYPE + when SI_TYPE then :S_TYPE + when SP_TYPE then :SP_TYPE + when BI_TYPE then :BI_TYPE end end