You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
doc/examples/filter_audio: use av_err2str
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
This commit is contained in:
committed by
Marvin Scholz
parent
977d1a24bc
commit
e93a43b511
@ -270,7 +270,6 @@ int main(int argc, char *argv[])
|
|||||||
AVFilterGraph *graph;
|
AVFilterGraph *graph;
|
||||||
AVFilterContext *src, *sink;
|
AVFilterContext *src, *sink;
|
||||||
AVFrame *frame;
|
AVFrame *frame;
|
||||||
uint8_t errstr[1024];
|
|
||||||
float duration;
|
float duration;
|
||||||
int err, nb_frames, i;
|
int err, nb_frames, i;
|
||||||
|
|
||||||
@ -354,7 +353,6 @@ int main(int argc, char *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
av_strerror(err, errstr, sizeof(errstr));
|
fprintf(stderr, "%s\n", av_err2str(err));
|
||||||
fprintf(stderr, "%s\n", errstr);
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user