OLD | NEW |
1 /* | 1 /* |
2 * MPEG1 / MPEG2 video parser | 2 * MPEG1 / MPEG2 video parser |
3 * Copyright (c) 2000,2001 Fabrice Bellard | 3 * Copyright (c) 2000,2001 Fabrice Bellard |
4 * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> | 4 * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> |
5 * | 5 * |
6 * This file is part of FFmpeg. | 6 * This file is part of FFmpeg. |
7 * | 7 * |
8 * FFmpeg is free software; you can redistribute it and/or | 8 * FFmpeg is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 } | 175 } |
176 return 0; | 176 return 0; |
177 } | 177 } |
178 | 178 |
179 AVCodecParser mpegvideo_parser = { | 179 AVCodecParser mpegvideo_parser = { |
180 { CODEC_ID_MPEG1VIDEO, CODEC_ID_MPEG2VIDEO }, | 180 { CODEC_ID_MPEG1VIDEO, CODEC_ID_MPEG2VIDEO }, |
181 sizeof(ParseContext1), | 181 sizeof(ParseContext1), |
182 NULL, | 182 NULL, |
183 mpegvideo_parse, | 183 mpegvideo_parse, |
184 ff_parse1_close, | 184 ff_parse1_close, |
| 185 mpegvideo_split, |
185 }; | 186 }; |
OLD | NEW |