diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-09-11 16:48:03 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-09-12 19:01:44 +0200 |
commit | b3fd2b175c90b4766034095e74e1f5112b1547ef (patch) | |
tree | 3aaf02258362fba2cb76c378ac6a8852b89d6228 /tests | |
parent | 917d14e6a20d05a58eb65ba9c766997886199c46 (diff) | |
download | ffmpeg-b3fd2b175c90b4766034095e74e1f5112b1547ef.tar.gz |
avformat/img2dec: Fail probing when no data is yet available and the filename contains no number/glob patterns either.
Fixes Ticket3901
the seek test error codes change due to a change in the failure path,
this could be avoided by changing the respective error codes to EINVAL
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/seek/lavf-pbmpipe | 52 | ||||
-rw-r--r-- | tests/ref/seek/lavf-pgmpipe | 52 | ||||
-rw-r--r-- | tests/ref/seek/lavf-ppmpipe | 52 |
3 files changed, 78 insertions, 78 deletions
diff --git a/tests/ref/seek/lavf-pbmpipe b/tests/ref/seek/lavf-pbmpipe index 2858934786..25bb68f996 100644 --- a/tests/ref/seek/lavf-pbmpipe +++ b/tests/ref/seek/lavf-pbmpipe @@ -1,27 +1,27 @@ ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:317075 -ret:-EINVAL st:-1 flags:0 ts:-1.000000 -ret:-EINVAL st:-1 flags:1 ts: 1.894167 -ret:-EINVAL st: 0 flags:0 ts: 0.800000 -ret:-EINVAL st: 0 flags:1 ts:-0.320000 -ret:-EINVAL st:-1 flags:0 ts: 2.576668 -ret:-EINVAL st:-1 flags:1 ts: 1.470835 -ret:-EINVAL st: 0 flags:0 ts: 0.360000 -ret:-EINVAL st: 0 flags:1 ts:-0.760000 -ret:-EINVAL st:-1 flags:0 ts: 2.153336 -ret:-EINVAL st:-1 flags:1 ts: 1.047503 -ret:-EINVAL st: 0 flags:0 ts:-0.040000 -ret:-EINVAL st: 0 flags:1 ts: 2.840000 -ret:-EINVAL st:-1 flags:0 ts: 1.730004 -ret:-EINVAL st:-1 flags:1 ts: 0.624171 -ret:-EINVAL st: 0 flags:0 ts:-0.480000 -ret:-EINVAL st: 0 flags:1 ts: 2.400000 -ret:-EINVAL st:-1 flags:0 ts: 1.306672 -ret:-EINVAL st:-1 flags:1 ts: 0.200839 -ret:-EINVAL st: 0 flags:0 ts:-0.920000 -ret:-EINVAL st: 0 flags:1 ts: 2.000000 -ret:-EINVAL st:-1 flags:0 ts: 0.883340 -ret:-EINVAL st:-1 flags:1 ts:-0.222493 -ret:-EINVAL st: 0 flags:0 ts: 2.680000 -ret:-EINVAL st: 0 flags:1 ts: 1.560000 -ret:-EINVAL st:-1 flags:0 ts: 0.460008 -ret:-EINVAL st:-1 flags:1 ts:-0.645825 +ret:-1 st:-1 flags:0 ts:-1.000000 +ret:-1 st:-1 flags:1 ts: 1.894167 +ret:-1 st: 0 flags:0 ts: 0.800000 +ret:-1 st: 0 flags:1 ts:-0.320000 +ret:-1 st:-1 flags:0 ts: 2.576668 +ret:-1 st:-1 flags:1 ts: 1.470835 +ret:-1 st: 0 flags:0 ts: 0.360000 +ret:-1 st: 0 flags:1 ts:-0.760000 +ret:-1 st:-1 flags:0 ts: 2.153336 +ret:-1 st:-1 flags:1 ts: 1.047503 +ret:-1 st: 0 flags:0 ts:-0.040000 +ret:-1 st: 0 flags:1 ts: 2.840000 +ret:-1 st:-1 flags:0 ts: 1.730004 +ret:-1 st:-1 flags:1 ts: 0.624171 +ret:-1 st: 0 flags:0 ts:-0.480000 +ret:-1 st: 0 flags:1 ts: 2.400000 +ret:-1 st:-1 flags:0 ts: 1.306672 +ret:-1 st:-1 flags:1 ts: 0.200839 +ret:-1 st: 0 flags:0 ts:-0.920000 +ret:-1 st: 0 flags:1 ts: 2.000000 +ret:-1 st:-1 flags:0 ts: 0.883340 +ret:-1 st:-1 flags:1 ts:-0.222493 +ret:-1 st: 0 flags:0 ts: 2.680000 +ret:-1 st: 0 flags:1 ts: 1.560000 +ret:-1 st:-1 flags:0 ts: 0.460008 +ret:-1 st:-1 flags:1 ts:-0.645825 diff --git a/tests/ref/seek/lavf-pgmpipe b/tests/ref/seek/lavf-pgmpipe index 8ba51807d8..57b4e4acc2 100644 --- a/tests/ref/seek/lavf-pgmpipe +++ b/tests/ref/seek/lavf-pgmpipe @@ -1,27 +1,27 @@ ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:2534775 -ret:-EINVAL st:-1 flags:0 ts:-1.000000 -ret:-EINVAL st:-1 flags:1 ts: 1.894167 -ret:-EINVAL st: 0 flags:0 ts: 0.800000 -ret:-EINVAL st: 0 flags:1 ts:-0.320000 -ret:-EINVAL st:-1 flags:0 ts: 2.576668 -ret:-EINVAL st:-1 flags:1 ts: 1.470835 -ret:-EINVAL st: 0 flags:0 ts: 0.360000 -ret:-EINVAL st: 0 flags:1 ts:-0.760000 -ret:-EINVAL st:-1 flags:0 ts: 2.153336 -ret:-EINVAL st:-1 flags:1 ts: 1.047503 -ret:-EINVAL st: 0 flags:0 ts:-0.040000 -ret:-EINVAL st: 0 flags:1 ts: 2.840000 -ret:-EINVAL st:-1 flags:0 ts: 1.730004 -ret:-EINVAL st:-1 flags:1 ts: 0.624171 -ret:-EINVAL st: 0 flags:0 ts:-0.480000 -ret:-EINVAL st: 0 flags:1 ts: 2.400000 -ret:-EINVAL st:-1 flags:0 ts: 1.306672 -ret:-EINVAL st:-1 flags:1 ts: 0.200839 -ret:-EINVAL st: 0 flags:0 ts:-0.920000 -ret:-EINVAL st: 0 flags:1 ts: 2.000000 -ret:-EINVAL st:-1 flags:0 ts: 0.883340 -ret:-EINVAL st:-1 flags:1 ts:-0.222493 -ret:-EINVAL st: 0 flags:0 ts: 2.680000 -ret:-EINVAL st: 0 flags:1 ts: 1.560000 -ret:-EINVAL st:-1 flags:0 ts: 0.460008 -ret:-EINVAL st:-1 flags:1 ts:-0.645825 +ret:-1 st:-1 flags:0 ts:-1.000000 +ret:-1 st:-1 flags:1 ts: 1.894167 +ret:-1 st: 0 flags:0 ts: 0.800000 +ret:-1 st: 0 flags:1 ts:-0.320000 +ret:-1 st:-1 flags:0 ts: 2.576668 +ret:-1 st:-1 flags:1 ts: 1.470835 +ret:-1 st: 0 flags:0 ts: 0.360000 +ret:-1 st: 0 flags:1 ts:-0.760000 +ret:-1 st:-1 flags:0 ts: 2.153336 +ret:-1 st:-1 flags:1 ts: 1.047503 +ret:-1 st: 0 flags:0 ts:-0.040000 +ret:-1 st: 0 flags:1 ts: 2.840000 +ret:-1 st:-1 flags:0 ts: 1.730004 +ret:-1 st:-1 flags:1 ts: 0.624171 +ret:-1 st: 0 flags:0 ts:-0.480000 +ret:-1 st: 0 flags:1 ts: 2.400000 +ret:-1 st:-1 flags:0 ts: 1.306672 +ret:-1 st:-1 flags:1 ts: 0.200839 +ret:-1 st: 0 flags:0 ts:-0.920000 +ret:-1 st: 0 flags:1 ts: 2.000000 +ret:-1 st:-1 flags:0 ts: 0.883340 +ret:-1 st:-1 flags:1 ts:-0.222493 +ret:-1 st: 0 flags:0 ts: 2.680000 +ret:-1 st: 0 flags:1 ts: 1.560000 +ret:-1 st:-1 flags:0 ts: 0.460008 +ret:-1 st:-1 flags:1 ts:-0.645825 diff --git a/tests/ref/seek/lavf-ppmpipe b/tests/ref/seek/lavf-ppmpipe index 46c535af75..7087494ca5 100644 --- a/tests/ref/seek/lavf-ppmpipe +++ b/tests/ref/seek/lavf-ppmpipe @@ -1,27 +1,27 @@ ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:7603575 -ret:-EINVAL st:-1 flags:0 ts:-1.000000 -ret:-EINVAL st:-1 flags:1 ts: 1.894167 -ret:-EINVAL st: 0 flags:0 ts: 0.800000 -ret:-EINVAL st: 0 flags:1 ts:-0.320000 -ret:-EINVAL st:-1 flags:0 ts: 2.576668 -ret:-EINVAL st:-1 flags:1 ts: 1.470835 -ret:-EINVAL st: 0 flags:0 ts: 0.360000 -ret:-EINVAL st: 0 flags:1 ts:-0.760000 -ret:-EINVAL st:-1 flags:0 ts: 2.153336 -ret:-EINVAL st:-1 flags:1 ts: 1.047503 -ret:-EINVAL st: 0 flags:0 ts:-0.040000 -ret:-EINVAL st: 0 flags:1 ts: 2.840000 -ret:-EINVAL st:-1 flags:0 ts: 1.730004 -ret:-EINVAL st:-1 flags:1 ts: 0.624171 -ret:-EINVAL st: 0 flags:0 ts:-0.480000 -ret:-EINVAL st: 0 flags:1 ts: 2.400000 -ret:-EINVAL st:-1 flags:0 ts: 1.306672 -ret:-EINVAL st:-1 flags:1 ts: 0.200839 -ret:-EINVAL st: 0 flags:0 ts:-0.920000 -ret:-EINVAL st: 0 flags:1 ts: 2.000000 -ret:-EINVAL st:-1 flags:0 ts: 0.883340 -ret:-EINVAL st:-1 flags:1 ts:-0.222493 -ret:-EINVAL st: 0 flags:0 ts: 2.680000 -ret:-EINVAL st: 0 flags:1 ts: 1.560000 -ret:-EINVAL st:-1 flags:0 ts: 0.460008 -ret:-EINVAL st:-1 flags:1 ts:-0.645825 +ret:-1 st:-1 flags:0 ts:-1.000000 +ret:-1 st:-1 flags:1 ts: 1.894167 +ret:-1 st: 0 flags:0 ts: 0.800000 +ret:-1 st: 0 flags:1 ts:-0.320000 +ret:-1 st:-1 flags:0 ts: 2.576668 +ret:-1 st:-1 flags:1 ts: 1.470835 +ret:-1 st: 0 flags:0 ts: 0.360000 +ret:-1 st: 0 flags:1 ts:-0.760000 +ret:-1 st:-1 flags:0 ts: 2.153336 +ret:-1 st:-1 flags:1 ts: 1.047503 +ret:-1 st: 0 flags:0 ts:-0.040000 +ret:-1 st: 0 flags:1 ts: 2.840000 +ret:-1 st:-1 flags:0 ts: 1.730004 +ret:-1 st:-1 flags:1 ts: 0.624171 +ret:-1 st: 0 flags:0 ts:-0.480000 +ret:-1 st: 0 flags:1 ts: 2.400000 +ret:-1 st:-1 flags:0 ts: 1.306672 +ret:-1 st:-1 flags:1 ts: 0.200839 +ret:-1 st: 0 flags:0 ts:-0.920000 +ret:-1 st: 0 flags:1 ts: 2.000000 +ret:-1 st:-1 flags:0 ts: 0.883340 +ret:-1 st:-1 flags:1 ts:-0.222493 +ret:-1 st: 0 flags:0 ts: 2.680000 +ret:-1 st: 0 flags:1 ts: 1.560000 +ret:-1 st:-1 flags:0 ts: 0.460008 +ret:-1 st:-1 flags:1 ts:-0.645825 |