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
avplay: do not call avcodec_get_frame_defaults().
avcodec_decode_audio4() will reset the frame itself.
tags/n2.2-rc1
Anton Khirnov
11 years ago
parent
95a8a5aca6
commit
84f131921f
1 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
avplay.c
+ 1
- 2
avplay.c
View File
@@ -1846,8 +1846,7 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr)
if (!is->frame) {
if (!(is->frame = av_frame_alloc()))
return AVERROR(ENOMEM);
} else
avcodec_get_frame_defaults(is->frame);
}
if (flush_complete)
break;
Write
Preview
Loading…
Cancel
Save