Make av_get_profile_name() return NULL if no profile is detected. Fix trac issue #130, fix crash reading file tek3.m2v.
Unified · Split
| @@ -2566,6 +2566,7 @@ static const AVProfile mpeg2_video_profiles[] = { · 2565 unmodified lines | |||
| 2566 | { FF_PROFILE_MPEG2_SIMPLE, "Simple" }, | 2566 | { FF_PROFILE_MPEG2_SIMPLE, "Simple" }, |
| 2567 | { FF_PROFILE_RESERVED, "Reserved" }, | 2567 | { FF_PROFILE_RESERVED, "Reserved" }, |
| 2568 | { FF_PROFILE_RESERVED, "Reserved" }, | 2568 | { FF_PROFILE_RESERVED, "Reserved" }, |
| 2569 | { FF_PROFILE_UNKNOWN }, | ||
| 2569 | }; | 2570 | }; |
| 2570 | 2571 | ||
| 2571 | 2572 | ||