Commit graph

11 commits

Author SHA1 Message Date
Reynaldo H. Verdejo Pinochet
ad3e8680a2 codecanalyzer: fix typo leading to implicit decl warning at build-time 2016-01-29 14:41:58 -08:00
Reynaldo H. Verdejo Pinochet
13010830b6 codecanalyzer: do not use g_error if abort is not desired
Use g_printerr() instead.

g_error() calls abort after outputting the message
so these blocks' return statements and free()s
were unreachable.

Aditionally, fix wrong void returns on non-void
function, drop trailing whitespace before newline and
add \n's as needed (default handler won't add one).
2016-01-29 14:37:13 -08:00
Reynaldo H. Verdejo Pinochet
969f12ab46 codecanalyzer: add missing includes for g_printf() 2016-01-29 10:10:05 -08:00
Reynaldo H. Verdejo Pinochet
1565bc4f58 codecanalyzer: Update README URL in help dialog
Previous one was a 404
2016-01-29 10:07:16 -08:00
Vineeth T M
581b0cfced codecanalyzer: Fix memory leaks when context parse fails
When g_option_context_parse fails, context and error variables are
not getting free'd which results in memory leaks being reported.

https://bugzilla.gnome.org/show_bug.cgi?id=753862
2015-11-18 00:34:30 +00:00
Olivier Crête
1599c1abd8 gitignore: Add more generated files 2015-07-24 17:06:29 -04:00
Tim-Philipp Müller
a26f4463f1 codecanalyzer: minor style fix 2015-04-23 12:33:26 +01:00
Vineeth T M
1f58db52bf codecanalyzer: don't try to free uninitialized pointers
xml_files_path and hex_files_path variable are not initialized.
There are chances that corruption happens when uninitialized
variables are freed, so init them to NULL before use.

https://bugzilla.gnome.org/show_bug.cgi?id=748351
2015-04-23 12:31:25 +01:00
Tim-Philipp Müller
f700eaef8f codecanalyzer: run gst-indent on code 2015-04-23 12:23:24 +01:00
Tim-Philipp Müller
74660cb861 codecanalyzer: fix codec detection with git master
The names might be 'MPEG-2 (Simple Profile)' now.
Shouldn't really rely on codec name strings here
in the first place, but use caps instead.
2015-02-18 11:37:43 +00:00
Sreerenj Balachandran
c73a9a38e6 New Tool: Add a CodecAnalyzer
https://bugzilla.gnome.org/show_bug.cgi?id=731853
2014-07-09 19:00:47 +02:00