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:
07a70ca
)
bintext: remove unneeded get_buffer()
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 16 Sep 2011 03:30:36 +0000
(
05:30
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 16 Sep 2011 03:53:31 +0000
(
05:53
+0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/bintext.c
patch
|
blob
|
history
diff --git
a/libavcodec/bintext.c
b/libavcodec/bintext.c
index
0726d46
..
a4467b3
100644
(file)
--- a/
libavcodec/bintext.c
+++ b/
libavcodec/bintext.c
@@
-49,12
+49,6
@@
static av_cold int decode_init(AVCodecContext *avctx)
int i;
avctx->pix_fmt = PIX_FMT_PAL8;
- s->frame.reference = 1;
- if (avctx->get_buffer(avctx, &s->frame)) {
- av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
- return -1;
- }
-
p = avctx->extradata;
if (p) {
s->font_height = p[0];