Merge commit 'ddc589ce98c2bba1e59318b5b0224717325eac46'
* commit 'ddc589ce98c2bba1e59318b5b0224717325eac46': avconv: drop a now useless variable Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
ed49e91fd7
2
ffmpeg.c
2
ffmpeg.c
@ -1652,7 +1652,6 @@ static int decode_audio(InputStream *ist, AVPacket *pkt, int *got_output)
|
|||||||
static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output)
|
static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output)
|
||||||
{
|
{
|
||||||
AVFrame *decoded_frame, *f;
|
AVFrame *decoded_frame, *f;
|
||||||
void *buffer_to_free = NULL;
|
|
||||||
int i, ret = 0, err = 0, resample_changed;
|
int i, ret = 0, err = 0, resample_changed;
|
||||||
int64_t best_effort_timestamp;
|
int64_t best_effort_timestamp;
|
||||||
AVRational *frame_sample_aspect;
|
AVRational *frame_sample_aspect;
|
||||||
@ -1753,7 +1752,6 @@ static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output)
|
|||||||
|
|
||||||
av_frame_unref(ist->filter_frame);
|
av_frame_unref(ist->filter_frame);
|
||||||
av_frame_unref(decoded_frame);
|
av_frame_unref(decoded_frame);
|
||||||
av_free(buffer_to_free);
|
|
||||||
return err < 0 ? err : ret;
|
return err < 0 ? err : ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user