aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ogg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-07-17 22:24:36 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-07-17 22:24:36 +0000
commit01f4895c682a1752bf6d138ffb0628470e16b85a (patch)
tree56a3dfce270dad38b97c8f7ff288cc23cfac54da /libavformat/ogg.c
parent4c1a012e9ceb0840688c547625208e7c4b81624a (diff)
downloadffmpeg-01f4895c682a1752bf6d138ffb0628470e16b85a.tar.gz
changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility
Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/ogg.c')
-rw-r--r--libavformat/ogg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/ogg.c b/libavformat/ogg.c
index ab47d029a5..b2767a22d5 100644
--- a/libavformat/ogg.c
+++ b/libavformat/ogg.c
@@ -39,7 +39,7 @@ static int ogg_write_header(AVFormatContext *avfcontext)
ogg_stream_init(&context->os, 31415);
for(n = 0 ; n < avfcontext->nb_streams ; n++) {
- AVCodecContext *codec = &avfcontext->streams[n]->codec;
+ AVCodecContext *codec = avfcontext->streams[n]->codec;
uint8_t *p= codec->extradata;
av_set_pts_info(avfcontext->streams[n], 60, 1, AV_TIME_BASE);
@@ -65,7 +65,7 @@ static int ogg_write_header(AVFormatContext *avfcontext)
static int ogg_write_packet(AVFormatContext *avfcontext, AVPacket *pkt)
{
OggContext *context = avfcontext->priv_data ;
- AVCodecContext *avctx= &avfcontext->streams[pkt->stream_index]->codec;
+ AVCodecContext *avctx= avfcontext->streams[pkt->stream_index]->codec;
ogg_packet *op= &context->op;
ogg_page og ;
int64_t pts;