diff options
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg_parser.c')
-rw-r--r-- | apps/plugins/mpegplayer/mpeg_parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_parser.c b/apps/plugins/mpegplayer/mpeg_parser.c index 5821bd57ab..1be11a467b 100644 --- a/apps/plugins/mpegplayer/mpeg_parser.c +++ b/apps/plugins/mpegplayer/mpeg_parser.c | |||
@@ -1144,6 +1144,7 @@ int parser_init_stream(void) | |||
1144 | if (!init_video_info()) | 1144 | if (!init_video_info()) |
1145 | { | 1145 | { |
1146 | /* Cannot determine video size, etc. */ | 1146 | /* Cannot determine video size, etc. */ |
1147 | parser_init_state(); | ||
1147 | return STREAM_UNSUPPORTED; | 1148 | return STREAM_UNSUPPORTED; |
1148 | } | 1149 | } |
1149 | 1150 | ||
@@ -1157,6 +1158,7 @@ int parser_init_stream(void) | |||
1157 | if (video_str.start_pts == INVALID_TIMESTAMP) | 1158 | if (video_str.start_pts == INVALID_TIMESTAMP) |
1158 | { | 1159 | { |
1159 | /* Must have video at least */ | 1160 | /* Must have video at least */ |
1161 | parser_init_state(); | ||
1160 | return STREAM_UNSUPPORTED; | 1162 | return STREAM_UNSUPPORTED; |
1161 | } | 1163 | } |
1162 | 1164 | ||