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
avpacket: properly reset data/size in av_packet_move_ref()
It currently just calls av_init_packet(), which does not touch those fields.
tags/n3.1
Anton Khirnov
9 years ago
parent
ba357e9869
commit
dbb43b8b83
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavcodec/avpacket.c
+ 2
- 0
libavcodec/avpacket.c
View File
@@ -398,6 +398,8 @@ void av_packet_move_ref(AVPacket *dst, AVPacket *src)
{
*dst = *src;
av_init_packet(src);
src->data = NULL;
src->size = 0;
}
void av_packet_rescale_ts(AVPacket *pkt, AVRational src_tb, AVRational dst_tb)
Write
Preview
Loading…
Cancel
Save