summaryrefslogtreecommitdiff
path: root/libavformat/nutdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r--libavformat/nutdec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index 13215b78f4..6d8ecbdf9c 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -699,8 +699,10 @@ resync:
do{
frame_code= get_byte(bc);
- if(frame_code == 'N') //FIXME update pos
+ if(frame_code == 'N'){
+ pos= url_ftell(bc)-1;
goto resync;
+ }
//FIXME consider pos_limit and eof
size= decode_frame_header(nut, &flags, &pts, &stream_id, frame_code);