History

Merge commit 'adb0e941c329a4778ade6dd0a326274472992f54'

* commit 'adb0e941c329a4778ade6dd0a326274472992f54': avpacket: Mark src pointer as constant See 5bb3f8825584a319b25b430e4ece2fa5b2b47ff9

Clément Bœsch committed 9 years ago

Commit 507a85b2 parents a3fc5f5 adb0e942 files · +2 −2Browse files

Unified · Split

2 files
  1. libavcodec/avcodec.h +1 −1
  2. libavcodec/avpacket.c +1 −1
libavcodec/avcodec.h+1−1
@@ -4452,7 +4452,7 @@ AVPacket *av_packet_alloc(void); · 4451 unmodified lines
4452 * @see av_packet_alloc4452 * @see av_packet_alloc
4453 * @see av_packet_ref4453 * @see av_packet_ref
4454 */4454 */
4455AVPacket *av_packet_clone(AVPacket *src);4455AVPacket *av_packet_clone(const AVPacket *src);
4456 4456
4457/**4457/**
4458 * Free the packet, if the packet is reference counted, it will be4458 * Free the packet, if the packet is reference counted, it will be
libavcodec/avpacket.c+1−1
@@ -614,7 +614,7 @@ fail: · 613 unmodified lines
614 return ret;614 return ret;
615}615}
616 616
617AVPacket *av_packet_clone(AVPacket *src)617AVPacket *av_packet_clone(const AVPacket *src)
618{618{
619 AVPacket *ret = av_packet_alloc();619 AVPacket *ret = av_packet_alloc();
620 620

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t