Commit b727b303 authored by François Grisez's avatar François Grisez
Browse files

Fix compilation for Debian Squeeze

parent d7d34838
......@@ -295,7 +295,9 @@ static void dec_process(MSFilter *f){
av_init_packet(&pkt);
pkt.data = p;
pkt.size = end-p;
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(50,43,0) // backward compatibility with Debian Squeeze (6.0)
pkt.pts = mblk_get_timestamp_info(im);
#endif
len=avcodec_decode_video2(&d->av_context,d->orig,&got_picture,&pkt);
if (len<=0) {
ms_warning("ms_AVdecoder_process: error %i.",len);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment