projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2c8545
)
mpeg12: terminate mpeg2_video_profiles arrays
author
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Wed, 27 Apr 2011 23:42:56 +0000
(
01:42
+0200)
committer
Reinhard Tartler
<siretart@tauware.de>
Thu, 28 Apr 2011 09:07:31 +0000
(11:07 +0200)
Make av_get_profile_name() return NULL if no profile is detected.
Fix trac issue #130, fix crash reading file tek3.m2v.
(cherry picked from commit
e5d80c7b2d893422e2e60a97e08bfc48ca1684e6
)
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/mpeg12.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpeg12.c
b/libavcodec/mpeg12.c
index
02d3e66
..
cca539f
100644
(file)
--- a/
libavcodec/mpeg12.c
+++ b/
libavcodec/mpeg12.c
@@
-2488,6
+2488,7
@@
static const AVProfile mpeg2_video_profiles[] = {
{ FF_PROFILE_MPEG2_SIMPLE, "Simple" },
{ FF_PROFILE_RESERVED, "Reserved" },
{ FF_PROFILE_RESERVED, "Reserved" },
+ { FF_PROFILE_UNKNOWN },
};