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
80016c48
Commit
80016c48
authored
Dec 06, 2004
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rm encoding fix
Originally committed as revision 3736 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
012cd15f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
rm.c
libavformat/rm.c
+3
-3
ffmpeg.regression.ref
tests/ffmpeg.regression.ref
+1
-1
libav.regression.ref
tests/libav.regression.ref
+1
-1
No files found.
libavformat/rm.c
View file @
80016c48
...
...
@@ -373,13 +373,13 @@ static int rm_write_video(AVFormatContext *s, const uint8_t *buf, int size, int
}
else
{
put_byte
(
pb
,
0x01
);
}
put_be16
(
pb
,
0x4000
|
(
size
));
/* total frame size */
put_be16
(
pb
,
0x4000
|
(
size
));
/* offset from the start or the end */
put_be16
(
pb
,
0x4000
+
(
size
));
/* total frame size */
put_be16
(
pb
,
0x4000
+
(
size
));
/* offset from the start or the end */
#else
/* full frame */
write_packet_header
(
s
,
size
+
6
);
put_byte
(
pb
,
0xc0
);
put_be16
(
pb
,
0x4000
|
size
);
/* total frame size */
put_be16
(
pb
,
0x4000
+
size
);
/* total frame size */
put_be16
(
pb
,
0x4000
+
packet_number
*
126
);
/* position in stream */
#endif
put_byte
(
pb
,
stream
->
nb_frames
&
0xff
);
...
...
tests/ffmpeg.regression.ref
View file @
80016c48
...
...
@@ -95,7 +95,7 @@ stddev: 8.87 PSNR:29.15 bytes:7602176
6262762 ./data/a-ljpeg.avi
799d3db687f6cdd7a837ec156efc171f *./data/out.yuv
stddev: 0.00 PSNR:99.99 bytes:7602176
5f51e30b621683e59edbab2e7c3f8c36
*./data/a-rv10.rm
49c87af74432890cadb28b93da1c653d
*./data/a-rv10.rm
677483 ./data/a-rv10.rm
f2b7fcff9de17f5aecfeb1090fe1963b *./data/out.yuv
stddev: 8.08 PSNR:29.97 bytes:7602176
...
...
tests/libav.regression.ref
View file @
80016c48
...
...
@@ -5,7 +5,7 @@ ffmpeg regression test
c83444a0e8ef47b6af1d868d1bb21696 *./data/b-libav.asf
342967 ./data/b-libav.asf
./data/b-libav.asf CRC=750f18c7
1cbf838e659d7fc3d3e33f4187b91f6c
*./data/b-libav.rm
5240a23a9264bc6062d6739c70825ace
*./data/b-libav.rm
360251 ./data/b-libav.rm
90784a1b9589095f20fc6bcc0cc23cc4 *./data/b-libav.mpg
387072 ./data/b-libav.mpg
...
...
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