mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
api-h264-slice-test: fix arguments and help
This program only takes 2 arguments Remove comment that was never right Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
fc6e53b0b6
commit
75ea329b78
@ -22,8 +22,6 @@
|
||||
|
||||
#define MAX_SLICES 8
|
||||
|
||||
// ./fate 2 ./crew_cif out.y4m
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
@ -121,8 +119,8 @@ int main(int argc, char **argv)
|
||||
int nals = 0, ret = 0;
|
||||
char *p;
|
||||
|
||||
if (argc < 4) {
|
||||
fprintf(stderr, "Usage: %s <threads> <input file> <output file>\n", argv[0]);
|
||||
if (argc < 3) {
|
||||
fprintf(stderr, "Usage: %s <threads> <input file>\n", argv[0]);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ fate-api-h264: CMD = run $(APITESTSDIR)/api-h264-test $(TARGET_SAMPLES)/h264-con
|
||||
|
||||
FATE_API_SAMPLES_LIBAVFORMAT-$(call DEMDEC, H264, H264) += fate-api-h264-slice
|
||||
fate-api-h264-slice: $(APITESTSDIR)/api-h264-slice-test$(EXESUF)
|
||||
fate-api-h264-slice: CMD = run $(APITESTSDIR)/api-h264-slice-test 2 $(TARGET_SAMPLES)/h264/crew_cif.nal api-h264-slice.h264
|
||||
fate-api-h264-slice: CMD = run $(APITESTSDIR)/api-h264-slice-test 2 $(TARGET_SAMPLES)/h264/crew_cif.nal
|
||||
|
||||
FATE_API_LIBAVFORMAT-$(call DEMDEC, FLV, FLV) += fate-api-seek
|
||||
fate-api-seek: $(APITESTSDIR)/api-seek-test$(EXESUF) fate-lavf-flv_fmt
|
||||
|
Loading…
Reference in New Issue
Block a user