| 
    FFmpeg
    
   | 
 
#include "libavutil/avassert.h"#include "libavutil/avstring.h"#include "libavutil/intreadwrite.h"#include "libavutil/opt.h"#include "libavutil/parseutils.h"#include "libavutil/timestamp.h"#include "avformat.h"#include "internal.h"#include "url.h"Go to the source code of this file.
Data Structures | |
| struct | ConcatStream | 
| struct | ConcatFile | 
| struct | ConcatContext | 
Macros | |
| #define | FAIL(retcode) do { ret = (retcode); goto fail; } while(0) | 
| #define | OFFSET(x) offsetof(ConcatContext, x) | 
| #define | DEC AV_OPT_FLAG_DECODING_PARAM | 
Enumerations | |
| enum | ConcatMatchMode { MATCH_ONE_TO_ONE, MATCH_EXACT_ID } | 
Functions | |
| static int | concat_probe (AVProbeData *probe) | 
| static char * | get_keyword (uint8_t **cursor) | 
| static int | safe_filename (const char *f) | 
| static int | add_file (AVFormatContext *avf, char *filename, ConcatFile **rfile, unsigned *nb_files_alloc) | 
| static int | copy_stream_props (AVStream *st, AVStream *source_st) | 
| static int | detect_stream_specific (AVFormatContext *avf, int idx) | 
| static int | match_streams_one_to_one (AVFormatContext *avf) | 
| static int | match_streams_exact_id (AVFormatContext *avf) | 
| static int | match_streams (AVFormatContext *avf) | 
| static int | open_file (AVFormatContext *avf, unsigned fileno) | 
| static int | concat_read_close (AVFormatContext *avf) | 
| static int | concat_read_header (AVFormatContext *avf) | 
| static int | open_next_file (AVFormatContext *avf) | 
| static int | filter_packet (AVFormatContext *avf, ConcatStream *cs, AVPacket *pkt) | 
| static int | packet_after_outpoint (ConcatContext *cat, AVPacket *pkt) | 
| static int | concat_read_packet (AVFormatContext *avf, AVPacket *pkt) | 
| static void | rescale_interval (AVRational tb_in, AVRational tb_out, int64_t *min_ts, int64_t *ts, int64_t *max_ts) | 
| static int | try_seek (AVFormatContext *avf, int stream, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) | 
| static int | real_seek (AVFormatContext *avf, int stream, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) | 
| static int | concat_seek (AVFormatContext *avf, int stream, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) | 
Variables | |
| static const AVOption | options [] | 
| static const AVClass | concat_class | 
| AVInputFormat | ff_concat_demuxer | 
| #define FAIL | ( | retcode | ) | do { ret = (retcode); goto fail; } while(0) | 
Definition at line 104 of file concatdec.c.
Referenced by add_file(), and concat_read_header().
| #define OFFSET | ( | x | ) | offsetof(ConcatContext, x) | 
Definition at line 708 of file concatdec.c.
| #define DEC AV_OPT_FLAG_DECODING_PARAM | 
Definition at line 709 of file concatdec.c.
| enum ConcatMatchMode | 
| Enumerator | |
|---|---|
| MATCH_ONE_TO_ONE | |
| MATCH_EXACT_ID | |
Definition at line 31 of file concatdec.c.
      
  | 
  static | 
Definition at line 68 of file concatdec.c.
      
  | 
  static | 
Definition at line 74 of file concatdec.c.
Referenced by concat_read_header().
      
  | 
  static | 
Definition at line 85 of file concatdec.c.
Referenced by add_file().
      
  | 
  static | 
Definition at line 106 of file concatdec.c.
Referenced by concat_read_header().
Definition at line 163 of file concatdec.c.
Referenced by match_streams_exact_id(), and match_streams_one_to_one().
      
  | 
  static | 
Definition at line 189 of file concatdec.c.
Referenced by match_streams().
      
  | 
  static | 
Definition at line 210 of file concatdec.c.
Referenced by match_streams().
      
  | 
  static | 
Definition at line 230 of file concatdec.c.
Referenced by match_streams().
      
  | 
  static | 
Definition at line 252 of file concatdec.c.
Referenced by concat_read_packet(), and open_file().
      
  | 
  static | 
Definition at line 289 of file concatdec.c.
Referenced by concat_read_header(), open_files(), open_next_file(), and real_seek().
      
  | 
  static | 
Definition at line 338 of file concatdec.c.
Referenced by concat_read_header().
      
  | 
  static | 
Definition at line 354 of file concatdec.c.
      
  | 
  static | 
Definition at line 477 of file concatdec.c.
Referenced by concat_read_packet().
      
  | 
  static | 
Definition at line 492 of file concatdec.c.
Referenced by concat_read_packet().
      
  | 
  static | 
Definition at line 533 of file concatdec.c.
Referenced by concat_read_packet().
      
  | 
  static | 
Definition at line 542 of file concatdec.c.
      
  | 
  static | 
Definition at line 618 of file concatdec.c.
Referenced by real_seek(), and try_seek().
      
  | 
  static | 
Definition at line 628 of file concatdec.c.
Referenced by real_seek().
      
  | 
  static | 
Definition at line 646 of file concatdec.c.
Referenced by concat_seek().
      
  | 
  static | 
Definition at line 683 of file concatdec.c.
      
  | 
  static | 
Definition at line 711 of file concatdec.c.
      
  | 
  static | 
Definition at line 721 of file concatdec.c.
| AVInputFormat ff_concat_demuxer | 
Definition at line 729 of file concatdec.c.
 1.8.6