OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
003f405
)
avformat/avisynth: remove duplicate av_new_packet() call
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 1 Dec 2013 21:12:57 +0000
(22:12 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 1 Dec 2013 21:12:57 +0000
(22:12 +0100)
Found-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/avisynth.c
patch
|
blob
|
history
diff --git
a/libavformat/avisynth.c
b/libavformat/avisynth.c
index
9b65fba
..
aac00fc
100644
(file)
--- a/
libavformat/avisynth.c
+++ b/
libavformat/avisynth.c
@@
-459,7
+459,6
@@
static int avisynth_read_packet_video(AVFormatContext *s, AVPacket *pkt,
(int64_t)avs->vi->height) * bits) / 8;
if (!pkt->size)
return AVERROR_UNKNOWN;
- av_new_packet(pkt, (int)pkt->size);
if (av_new_packet(pkt, (int)pkt->size) < 0) {
av_free(pkt);
return AVERROR(ENOMEM);