This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <libavutil/timestamp.h> | |
#include <libavformat/avformat.h> | |
static FILE *open_file_write(const char *file); | |
static FILE *open_file_read(const char *file); | |
static size_t write_packt_to_file(AVPacket *packet, FILE *file); | |
static size_t read_packt_from_file(AVPacket *packet, FILE *file); | |
static void close_file(FILE *file); | |
static void log_packet(const AVFormatContext *fmt_ctx, const AVPacket *pkt, const char *tag) |