]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/nut.c
ffplay: get rid of void casts in the option table
[ffmpeg] / libavformat / nut.c
index 7e3c83a2916d5bd36b6f4b432d9a0f9b8d261a4d..30c0eb6179e15afc143fe4e7483e23d69374ee89 100644 (file)
@@ -29,6 +29,7 @@ const AVCodecTag ff_nut_subtitle_tags[] = {
     { AV_CODEC_ID_SSA         , MKTAG('S', 'S', 'A',  0 ) },
     { AV_CODEC_ID_DVD_SUBTITLE, MKTAG('D', 'V', 'D', 'S') },
     { AV_CODEC_ID_DVB_SUBTITLE, MKTAG('D', 'V', 'B', 'S') },
+    { AV_CODEC_ID_DVB_TELETEXT, MKTAG('D', 'V', 'B', 'T') },
     { AV_CODEC_ID_NONE        , 0                         }
 };
 
@@ -140,6 +141,8 @@ void ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts){
     Syncpoint *sp= av_mallocz(sizeof(Syncpoint));
     struct AVTreeNode *node= av_mallocz(av_tree_node_size);
 
+    nut->sp_count++;
+
     sp->pos= pos;
     sp->back_ptr= back_ptr;
     sp->ts= ts;