repositories
/
deb_ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Debian version 2.5.0~trusty1.1
[deb_ffmpeg.git]
/
ffmpeg
/
libavcodec
/
eatgv.c
diff --git
a/ffmpeg/libavcodec/eatgv.c
b/ffmpeg/libavcodec/eatgv.c
index f204a1344cdccc6222660436eb082f4d2165589c..b4d3d1d27dc0a278db1341db41e63f41f7dd7d3f 100644
(file)
--- a/
ffmpeg/libavcodec/eatgv.c
+++ b/
ffmpeg/libavcodec/eatgv.c
@@
-55,7
+55,7
@@
static av_cold int tgv_decode_init(AVCodecContext *avctx)
{
TgvContext *s = avctx->priv_data;
s->avctx = avctx;
{
TgvContext *s = avctx->priv_data;
s->avctx = avctx;
- avctx->
time_base = (AVRational){1, 15
};
+ avctx->
framerate = (AVRational){ 15, 1
};
avctx->pix_fmt = AV_PIX_FMT_PAL8;
s->last_frame = av_frame_alloc();
avctx->pix_fmt = AV_PIX_FMT_PAL8;
s->last_frame = av_frame_alloc();
@@
-349,8
+349,8
@@
static av_cold int tgv_decode_end(AVCodecContext *avctx)
TgvContext *s = avctx->priv_data;
av_frame_free(&s->last_frame);
av_freep(&s->frame_buffer);
TgvContext *s = avctx->priv_data;
av_frame_free(&s->last_frame);
av_freep(&s->frame_buffer);
- av_free
(
s->mv_codebook);
- av_free
(
s->block_codebook);
+ av_free
p(&
s->mv_codebook);
+ av_free
p(&
s->block_codebook);
return 0;
}
return 0;
}