| OLD | NEW |
| 1 /* | 1 /* |
| 2 * MD STUDIO audio demuxer | 2 * MD STUDIO audio demuxer |
| 3 * | 3 * |
| 4 * Copyright (c) 2009 Benjamin Larsson | 4 * Copyright (c) 2009 Benjamin Larsson |
| 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 |
| 11 * version 2.1 of the License, or (at your option) any later version. | 11 * version 2.1 of the License, or (at your option) any later version. |
| 12 * | 12 * |
| 13 * FFmpeg is distributed in the hope that it will be useful, | 13 * FFmpeg is distributed in the hope that it will be useful, |
| 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 * Lesser General Public License for more details. | 16 * Lesser General Public License for more details. |
| 17 * | 17 * |
| 18 * You should have received a copy of the GNU Lesser General Public | 18 * You should have received a copy of the GNU Lesser General Public |
| 19 * License along with FFmpeg; if not, write to the Free Software | 19 * License along with FFmpeg; if not, write to the Free Software |
| 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 */ | 21 */ |
| 22 | 22 |
| 23 #include "avformat.h" | 23 #include "avformat.h" |
| 24 #include "raw.h" | 24 #include "pcm.h" |
| 25 #include "libavutil/intreadwrite.h" | 25 #include "libavutil/intreadwrite.h" |
| 26 | 26 |
| 27 #define AT1_SU_SIZE 212 | 27 #define AT1_SU_SIZE 212 |
| 28 | 28 |
| 29 static int aea_read_probe(AVProbeData *p) | 29 static int aea_read_probe(AVProbeData *p) |
| 30 { | 30 { |
| 31 if (p->buf_size <= 2048+212) | 31 if (p->buf_size <= 2048+212) |
| 32 return 0; | 32 return 0; |
| 33 | 33 |
| 34 /* Magic is '00 08 00 00' in Little Endian*/ | 34 /* Magic is '00 08 00 00' in Little Endian*/ |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 0, | 99 0, |
| 100 aea_read_probe, | 100 aea_read_probe, |
| 101 aea_read_header, | 101 aea_read_header, |
| 102 aea_read_packet, | 102 aea_read_packet, |
| 103 0, | 103 0, |
| 104 pcm_read_seek, | 104 pcm_read_seek, |
| 105 .flags= AVFMT_GENERIC_INDEX, | 105 .flags= AVFMT_GENERIC_INDEX, |
| 106 .extensions = "aea", | 106 .extensions = "aea", |
| 107 }; | 107 }; |
| 108 | 108 |
| OLD | NEW |