Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 317089 Details for
Bug 322945
>=media-video/transcode-1.1.5-r1 fails to open ffmpeg+x264 codec
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix invalid free when preset file not found
transcode-1.1.7-preset-free.patch (text/plain), 1.22 KB, created by
Brennan Shacklett
on 2012-07-04 03:23:56 UTC
(
hide
)
Description:
Fix invalid free when preset file not found
Filename:
MIME Type:
Creator:
Brennan Shacklett
Created:
2012-07-04 03:23:56 UTC
Size:
1.22 KB
patch
obsolete
>diff -urN transcode-1.1.7-orig/export/export_ffmpeg.c transcode-1.1.7/export/export_ffmpeg.c >--- transcode-1.1.7-orig/export/export_ffmpeg.c 2011-11-19 08:50:27.000000000 -0800 >+++ transcode-1.1.7/export/export_ffmpeg.c 2012-07-03 20:07:05.669083945 -0700 >@@ -321,7 +321,7 @@ > } > > if(!f){ >- fprintf(stderr, "File for preset '%s' not found\n", arg); >+ tc_log_error(MOD_NAME, "File for preset '%s' not found", arg); > av_exit(1); > } > >@@ -1207,7 +1207,7 @@ > /* FIXME: transcode itself contains "broken ffmpeg default settings", thus we need to override them! */ > if (lavc_param_video_preset) { > avcodec_opts[AVMEDIA_TYPE_VIDEO] = lavc_venc_context; >- video_codec_name = ffmpeg_codec_name(codec->name); >+ video_codec_name = av_strdup(ffmpeg_codec_name(codec->name)); > > const char *preset_start = lavc_param_video_preset; > while (preset_start) { >@@ -1225,6 +1225,8 @@ > if (opt_preset("vpre", preset_name) != 0) { > tc_log_warn(MOD_NAME, "Parsing ffmpeg preset '%s' failed", preset_name); > } >+ av_free(video_codec_name); >+ video_codec_name = NULL; > if (verbose) { > int i; > tc_log_info(MOD_NAME, "After parsing preset '%s', %i options are overridden:", preset_name, opt_name_count);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 322945
:
234305
|
256983
|
295815
| 317089