| 2781 | } |
| 2782 | |
| 2783 | static 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 | |
| 2794 | static void opt_audio_codec(const char *arg) |
| 2795 | { |
no test coverage detected