| OLD | NEW |
| 1 /* | 1 /* |
| 2 * WAV muxer and demuxer | 2 * WAV muxer and demuxer |
| 3 * Copyright (c) 2001, 2002 Fabrice Bellard | 3 * Copyright (c) 2001, 2002 Fabrice Bellard |
| 4 * | 4 * |
| 5 * Sony Wave64 demuxer | 5 * Sony Wave64 demuxer |
| 6 * RF64 demuxer | 6 * RF64 demuxer |
| 7 * Copyright (c) 2009 Daniel Verkamp | 7 * Copyright (c) 2009 Daniel Verkamp |
| 8 * | 8 * |
| 9 * This file is part of FFmpeg. | 9 * This file is part of FFmpeg. |
| 10 * | 10 * |
| 11 * FFmpeg is free software; you can redistribute it and/or | 11 * FFmpeg is free software; you can redistribute it and/or |
| 12 * modify it under the terms of the GNU Lesser General Public | 12 * modify it under the terms of the GNU Lesser General Public |
| 13 * License as published by the Free Software Foundation; either | 13 * License as published by the Free Software Foundation; either |
| 14 * version 2.1 of the License, or (at your option) any later version. | 14 * version 2.1 of the License, or (at your option) any later version. |
| 15 * | 15 * |
| 16 * FFmpeg is distributed in the hope that it will be useful, | 16 * FFmpeg is distributed in the hope that it will be useful, |
| 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 19 * Lesser General Public License for more details. | 19 * Lesser General Public License for more details. |
| 20 * | 20 * |
| 21 * You should have received a copy of the GNU Lesser General Public | 21 * You should have received a copy of the GNU Lesser General Public |
| 22 * License along with FFmpeg; if not, write to the Free Software | 22 * License along with FFmpeg; if not, write to the Free Software |
| 23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 24 */ | 24 */ |
| 25 #include "avformat.h" | 25 #include "avformat.h" |
| 26 #include "raw.h" | 26 #include "pcm.h" |
| 27 #include "riff.h" | 27 #include "riff.h" |
| 28 | 28 |
| 29 typedef struct { | 29 typedef struct { |
| 30 int64_t data; | 30 int64_t data; |
| 31 int64_t data_end; | 31 int64_t data_end; |
| 32 int64_t minpts; | 32 int64_t minpts; |
| 33 int64_t maxpts; | 33 int64_t maxpts; |
| 34 int last_duration; | 34 int last_duration; |
| 35 int w64; | 35 int w64; |
| 36 } WAVContext; | 36 } WAVContext; |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 sizeof(WAVContext), | 408 sizeof(WAVContext), |
| 409 w64_probe, | 409 w64_probe, |
| 410 w64_read_header, | 410 w64_read_header, |
| 411 wav_read_packet, | 411 wav_read_packet, |
| 412 NULL, | 412 NULL, |
| 413 wav_read_seek, | 413 wav_read_seek, |
| 414 .flags = AVFMT_GENERIC_INDEX, | 414 .flags = AVFMT_GENERIC_INDEX, |
| 415 .codec_tag = (const AVCodecTag* const []){ff_codec_wav_tags, 0}, | 415 .codec_tag = (const AVCodecTag* const []){ff_codec_wav_tags, 0}, |
| 416 }; | 416 }; |
| 417 #endif /* CONFIG_W64_DEMUXER */ | 417 #endif /* CONFIG_W64_DEMUXER */ |
| OLD | NEW |