summaryrefslogtreecommitdiff
path: root/libavformat/rm.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-12-06 17:21:17 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-12-06 17:21:17 +0000
commit18ade9543fe07620ad429747a6f1266b09627c18 (patch)
treefc08c3397890bccda50ee52e5cbf7e7db3050822 /libavformat/rm.c
parentd880240e1814b991f0916a1947e2675569ea1637 (diff)
rv10 thread safety fix / rv10 ffplay fix
Originally committed as revision 3733 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rm.c')
-rw-r--r--libavformat/rm.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libavformat/rm.c b/libavformat/rm.c
index e6de873b75..ba73a337bd 100644
--- a/libavformat/rm.c
+++ b/libavformat/rm.c
@@ -791,12 +791,7 @@ static int rm_read_packet(AVFormatContext *s, AVPacket *pkt)
}
/* picture number */
pic_num= get_byte(pb);
-
- //XXX/FIXME/HACK, demuxer should be fixed to send complete frames ...
- if(st->codec.slice_offset==NULL)
- st->codec.slice_offset= (int*)av_malloc(sizeof(int));
- st->codec.slice_count= full_frame;
- st->codec.slice_offset[0]= 0;
+// av_log(NULL, AV_LOG_DEBUG, "%X %d\n", h, pic_num);
}
av_new_packet(pkt, len);