This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
lavf/movenc: use two explicit bytes instead of a short.
This also avoids a pointless cast. Idea-by: Reimar Döffinger
tags/n1.0
Clément Bœsch
13 years ago
parent
e6dd2852ca
commit
cb5bb521aa
1 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-3
libavformat/movenc.c
+ 3
- 3
libavformat/movenc.c
View File
@@ -3145,12 +3145,12 @@ static int mov_write_subtitle_end_packet(AVFormatContext *s,
int stream_index,
int64_t dts) {
AVPacket end;
short data = 0
;
uint8_t data[2] = {0}
;
int ret;
av_init_packet(&end);
end.size = sizeof
(short
);
end.data =
(char *)&
data;
end.size = sizeof
(data
);
end.data = data;
end.pts = dts;
end.dts = dts;
end.duration = 0;
Write
Preview
Loading…
Cancel
Save