Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
3ce7c62e
Commit
3ce7c62e
authored
Oct 20, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/framehash: add software version to framecrc/md5
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
c994b428
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
framehash.c
libavformat/framehash.c
+3
-0
fate-run.sh
tests/fate-run.sh
+2
-2
vqf.mak
tests/fate/vqf.mak
+1
-1
No files found.
libavformat/framehash.c
View file @
3ce7c62e
...
@@ -23,6 +23,9 @@
...
@@ -23,6 +23,9 @@
int
ff_framehash_write_header
(
AVFormatContext
*
s
)
int
ff_framehash_write_header
(
AVFormatContext
*
s
)
{
{
int
i
;
int
i
;
if
(
s
->
nb_streams
&&
!
(
s
->
streams
[
0
]
->
codec
->
flags
&
CODEC_FLAG_BITEXACT
))
avio_printf
(
s
->
pb
,
"#software: %s
\n
"
,
LIBAVFORMAT_IDENT
);
for
(
i
=
0
;
i
<
s
->
nb_streams
;
i
++
)
{
for
(
i
=
0
;
i
<
s
->
nb_streams
;
i
++
)
{
AVStream
*
st
=
s
->
streams
[
i
];
AVStream
*
st
=
s
->
streams
[
i
];
avpriv_set_pts_info
(
st
,
64
,
st
->
codec
->
time_base
.
num
,
st
->
codec
->
time_base
.
den
);
avpriv_set_pts_info
(
st
,
64
,
st
->
codec
->
time_base
.
num
,
st
->
codec
->
time_base
.
den
);
...
...
tests/fate-run.sh
View file @
3ce7c62e
...
@@ -90,11 +90,11 @@ ffmpeg(){
...
@@ -90,11 +90,11 @@ ffmpeg(){
}
}
framecrc
(){
framecrc
(){
ffmpeg
"
$@
"
-f
framecrc -
ffmpeg
"
$@
"
-f
lags
+bitexact
-f
framecrc -
}
}
framemd5
(){
framemd5
(){
ffmpeg
"
$@
"
-f
framemd5 -
ffmpeg
"
$@
"
-f
lags
+bitexact
-f
framemd5 -
}
}
crc
(){
crc
(){
...
...
tests/fate/vqf.mak
View file @
3ce7c62e
...
@@ -4,7 +4,7 @@ fate-twinvq: CMP = oneoff
...
@@ -4,7 +4,7 @@ fate-twinvq: CMP = oneoff
fate-twinvq: REF = $(SAMPLES)/vqf/achterba.pcm
fate-twinvq: REF = $(SAMPLES)/vqf/achterba.pcm
FATE_VQF-$(CONFIG_VQF_DEMUXER) += fate-vqf-demux
FATE_VQF-$(CONFIG_VQF_DEMUXER) += fate-vqf-demux
fate-vqf-demux: CMD = md5 -i $(TARGET_SAMPLES)/vqf/achterba.vqf -acodec copy -f framecrc
fate-vqf-demux: CMD = md5 -i $(TARGET_SAMPLES)/vqf/achterba.vqf -acodec copy -f
lags bitexact -f
framecrc
FATE_VQF += $(FATE_VQF-yes)
FATE_VQF += $(FATE_VQF-yes)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment