|
|
|
@@ -38,6 +38,7 @@ |
|
|
|
#include "libavcodec/audioconvert.h" |
|
|
|
#include "libavcodec/colorspace.h" |
|
|
|
#include "libavutil/fifo.h" |
|
|
|
#include "libavutil/pixdesc.h" |
|
|
|
#include "libavutil/avstring.h" |
|
|
|
#include "libavformat/os_support.h" |
|
|
|
|
|
|
|
@@ -2581,7 +2582,7 @@ static void opt_frame_pad_right(const char *arg) |
|
|
|
static void opt_frame_pix_fmt(const char *arg) |
|
|
|
{ |
|
|
|
if (strcmp(arg, "list")) { |
|
|
|
frame_pix_fmt = avcodec_get_pix_fmt(arg); |
|
|
|
frame_pix_fmt = av_get_pix_fmt(arg); |
|
|
|
if (frame_pix_fmt == PIX_FMT_NONE) { |
|
|
|
fprintf(stderr, "Unknown pixel format requested: %s\n", arg); |
|
|
|
av_exit(1); |
|
|
|
|