avcodec/samidec: make sure to properly restore parsing context after a tag
This commit is contained in:
		@@ -91,6 +91,7 @@ static int sami_paragraph_to_ass(AVCodecContext *avctx, const char *src)
 | 
				
			|||||||
                    break;
 | 
					                    break;
 | 
				
			||||||
                if (*p == '>')
 | 
					                if (*p == '>')
 | 
				
			||||||
                    p++;
 | 
					                    p++;
 | 
				
			||||||
 | 
					                continue;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            if (!av_isspace(*p))
 | 
					            if (!av_isspace(*p))
 | 
				
			||||||
                av_bprint_chars(dst, *p, 1);
 | 
					                av_bprint_chars(dst, *p, 1);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user