Commit e7a4aba9 authored by Loren Merritt's avatar Loren Merritt
Browse files

fix a crash in avc2avi


git-svn-id: svn://svn.videolan.org/x264/trunk@594 df754926-b1dd-0310-bc7b-ec298dee348c
parent 41b85c4f
......@@ -851,7 +851,7 @@ int nal_decode( nal_t *nal, void *p_data, int i_data )
*dst++ = *src++;
}
nal->i_payload = dst - (uint8_t*)p_data;
nal->i_payload = dst - (uint8_t*)nal->p_payload;
return 0;
}
Supports Markdown
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