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:
ff92549
)
Simplify: use local variable with same contents directly.
author
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 12 Feb 2012 10:50:01 +0000
(11:50 +0100)
committer
Reimar Döffinger
<Reimar.Doeffinger@gmx.de>
Sun, 12 Feb 2012 17:56:07 +0000
(18:56 +0100)
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
22f8fa9
..
f3683a5
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-2513,7
+2513,7
@@
static int transcode_init(OutputFile *output_files, int nb_output_files,
}
} else {
if (!ost->enc)
- ost->enc = avcodec_find_encoder(
ost->st->
codec->codec_id);
+ ost->enc = avcodec_find_encoder(codec->codec_id);
ist->decoding_needed = 1;
ost->encoding_needed = 1;