MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / opt_codec

Function opt_codec

ffmpeg.c:2783–2792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2781}
2782
2783static void opt_codec(int *pstream_copy, char **pcodec_name,
2784 int codec_type, const char *arg)
2785{
2786 av_freep(pcodec_name);
2787 if (!strcmp(arg, "copy")) {
2788 *pstream_copy = 1;
2789 } else {
2790 *pcodec_name = av_strdup(arg);
2791 }
2792}
2793
2794static void opt_audio_codec(const char *arg)
2795{

Callers 3

opt_audio_codecFunction · 0.85
opt_video_codecFunction · 0.85
opt_subtitle_codecFunction · 0.85

Calls 2

av_freepFunction · 0.85
av_strdupFunction · 0.85

Tested by

no test coverage detected