Mercurial > mplayer.hg
changeset 16000:cc9662daeccf
LIBAVFORMAT_BUILD >= 4629
author | michael |
---|---|
date | Sun, 17 Jul 2005 23:54:48 +0000 |
parents | 66dd632593f1 |
children | b939c687986f |
files | libmpdemux/demux_lavf.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c Sun Jul 17 22:18:12 2005 +0000 +++ b/libmpdemux/demux_lavf.c Sun Jul 17 23:54:48 2005 +0000 @@ -173,7 +173,11 @@ for(i=0; i<avfc->nb_streams; i++){ AVStream *st= avfc->streams[i]; +#if LIBAVFORMAT_BUILD >= 4629 + AVCodecContext *codec= st->codec; +#else AVCodecContext *codec= &st->codec; +#endif switch(codec->codec_type){ case CODEC_TYPE_AUDIO:{