OLD | NEW |
1 /* | 1 /* |
2 * MLP parser | 2 * MLP parser |
3 * Copyright (c) 2007 Ian Caulfield | 3 * Copyright (c) 2007 Ian Caulfield |
4 * | 4 * |
5 * This file is part of FFmpeg. | 5 * This file is part of FFmpeg. |
6 * | 6 * |
7 * FFmpeg is free software; you can redistribute it and/or | 7 * FFmpeg is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2.1 of the License, or (at your option) any later version. | 10 * version 2.1 of the License, or (at your option) any later version. |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 lost_sync: | 286 lost_sync: |
287 mp->in_sync = 0; | 287 mp->in_sync = 0; |
288 return 1; | 288 return 1; |
289 } | 289 } |
290 | 290 |
291 AVCodecParser mlp_parser = { | 291 AVCodecParser mlp_parser = { |
292 { CODEC_ID_MLP, CODEC_ID_TRUEHD }, | 292 { CODEC_ID_MLP, CODEC_ID_TRUEHD }, |
293 sizeof(MLPParseContext), | 293 sizeof(MLPParseContext), |
294 mlp_init, | 294 mlp_init, |
295 mlp_parse, | 295 mlp_parse, |
296 NULL, | 296 ff_parse_close, |
297 }; | 297 }; |
OLD | NEW |